|
We are developing an export plugin. The plugin uses scripts to create menu and some user interface.
After start 3dsMax automatically generate macroscripts for each menu element and places them to the folder “c:\Documents and Settings\us;er%\Local Settings\Application Data\Autodesk\3dsmax\2010 - 32bit\enu\UI\usermacros”. Problem is in that 3dsMax cuts our scripts after about 1 kilobyte and store them.
During the second and later loads 3dsmax doesn’t generate but compile existed macroscripts, that are generated incorrectly and cannot be compiled.
3dsMax2009 also cuts the scripts, but it doesn’t break any functionality. In 2010 and 2011 this leads to errors during loading of 3dsMax and plugin.
Could you please guide us to right way of using such scripts.
Added: acceptable size is 1160 bytes. Adding one symbol leads to cutting a lot of symbols from the end of script. Is 1160 a magic number?
Best regards and thanks in advance
|
|
|