Not sure if this is the cause, but you’ve commented out this line? –append ValArray strStore Also, casting the ValArray items to string seems redun…
Comboboxes should definitely be possible. They are not supported yet though. But it would be great if you, or someone else, could look into how they a…
I’ve refactored the CuiFile code to make it a bit more flexible and solid. For one the test code is extended and covers more of the code. And you can …
I’ve decided to move the ScriptCenter project from google code to github: And I’ve decided to change the license from a somewhat restrictive GPL to t…
edit: I’ve moved the documentation to github: Example (assigns convert to poly to Alt+Shift+C): ( dotnet.loadAssembly “ScriptCenter.Max.dll” local…
edit: I’ve moved the documentation to github: Example, creating a small toolbar and adding two buttons and a separator to it. ( dotnet.loadAssem…
Ah nice. I searched the docs for a min/max function, but for some reason amin did not come up. Should remember that one
The nested loop is redundant. For one the second loop overwrites the value of i, and you’re looping over theArray02 n times, where n is the length of …
Hm, this is a bit of a guess, but could it be that “head_no_logo” isn’t actually in the scenematerials array because it is a submaterial? Try executin…
Well it is nigh-impossible to debug code from just those 10 lines. As I said, the material assignment statements seem fine, so it is probably a proble…
The assignment code itself looks fine. However, I suspect your issue might lie in the “if logo03 == 3 then” part. What’s logo03? And why do you compar…
That is curious indeed. Unless you really want the sunken edge, you could use an imgTag instead. In there you can control the color value to be treate…
Maybe my previous ‘requirement’ was not entirely complete. When I drop or manually run the mzp, in addition to the “install struct”, I also want to ru…
Sorry, that’s not what I’m after. What I want is to execute a script in these three cases: -The mzp is dropped into max (i.e. the drop command) -The m…