Machete-TheeOriginal
07-23-2008, 12:49 PM
Hello,
I have written a couple scripts and they run, but I either don't fully understand how they install or am just missing something obvious.
So...I have a script file called Color_Menus. In this file I have a script and in that script I have a filein "$scripts/_Myscripts/Machetes Magic Function.mcr" line that contains routines to process the variables setup in the script.
I have a web programming background and am new to MaxScript, so I am thinking that I can use the filein like an include file. However, when I first open 3DS (2009) and import a file, and click on my menu link to activate my script, I get a few different errors about things being undefined.
I am also trying understand the difference or reason behind why there are similar copies of my files appearing in:
C:\Documents and Settings\MyUser\Local Settings\Application Data\Autodesk\3dsmax\2009 - 64bit\enu\UI\usermacros
But if I open the script editor, and save them, then execute them and then goto my menu link, the script functions without error. Can anyone help me and tell me where I am going wrong? Ideally, this will work without user intervention (except for them having to click the menu link) each time 3DS loads...
Thanks!
Machete
I have written a couple scripts and they run, but I either don't fully understand how they install or am just missing something obvious.
So...I have a script file called Color_Menus. In this file I have a script and in that script I have a filein "$scripts/_Myscripts/Machetes Magic Function.mcr" line that contains routines to process the variables setup in the script.
I have a web programming background and am new to MaxScript, so I am thinking that I can use the filein like an include file. However, when I first open 3DS (2009) and import a file, and click on my menu link to activate my script, I get a few different errors about things being undefined.
I am also trying understand the difference or reason behind why there are similar copies of my files appearing in:
C:\Documents and Settings\MyUser\Local Settings\Application Data\Autodesk\3dsmax\2009 - 64bit\enu\UI\usermacros
But if I open the script editor, and save them, then execute them and then goto my menu link, the script functions without error. Can anyone help me and tell me where I am going wrong? Ideally, this will work without user intervention (except for them having to click the menu link) each time 3DS loads...
Thanks!
Machete
