[Closed] Bitmaps in mzp files, and autorun script
Hi guys,
I’ve made a .mzp file that extracts all my scripts to certain locations.
.mcr to macroscripts
.bmp Icons to ui/icons
I need to put a bunch of files into max’s project folder sub directories but I am having no luck so far.
- Is there a command available to the mzp.run that I’m unaware of that can locate max’s project folder?
- Is it possible to automatically run a maxscript bundled with the .mzp after mzp.run. I could use the maxscript pathConfig.getCurrentProjectFolder() to locate the project folderand copy the using regular maxscript?
- Can you think of a better way?
The second problem I am having is with the Icons that I have bundled into the mzp. They install to where they are supposed to but upon drag and drop of the mzp file I get a prompt
BitMap Viewport Drop
A bitmap file was dropped onto a viewport. Apply the file as
[] A viewport background
[] An environment map
OK CANCEL
How can I prevent this prompt from appearing?
Thanks in advance
As usual posting here gives me another idea.
I just chucked the maxscript I needed to run in order to find the project folder into the startup scripts folder which solves my problem. A restart of max is required, but I can live with that.
The only remaining problem is the bitmap pop up…
Doing it a much better way now.
Putting things into the system temp then copying them from there to usermacros…
Sorry about all this, its all new to me.
I no longer have any of the above issues