Exactly! Think of evaluating as “installing” the script if you want…
He knows, that but he needs to convert it from a string into a color value, probably because he is reading the data from a txt file or xml or somethin…
Cool, thanks for the tip /me adds “flowlayout panel” to the list of stuff to check out
The you might want to try the subRollout method. Basically you create a subRollout control on your main rollout. Whenever you need to change/update th…
Yhea, that too. Of course that requires you to know the number and type of controls beforehand. You probably know this, Pete, what about .net forms? …
You can’t add or remove controls from a standard maxscript rollout. You do have some workaround though like setting them to visible/invisible or gener…
Hehe, been there, done that…
You are using it wrong, seed is a function, not a a variable. You use “seed 30” to set the random seed to 30. In your case you should change “seed = s…
What does the error say?
LOL. I kinda of feel like we should re-write the code with a more object oriented approach however…
Hum, strange, maybe you have some other scripts in MAX2008 that are pre-declaring the variables used by the script that is giving you errors?
Most likely a problem with variable scope.
Honestly I think your solution is as good as it’s gonna get. Seems like MaxScript has no interesting in considering the gamma values :shrug:
The first thing to check would be the “Bitmap Output Gamma” in the Gamma & LUT preferences. Then for some Maxscript related issues check this thr…
Weeeeellll you might as well add UNDO to it… ( local CurSel = GetCurrentSelection() if CurSel.count > 0 then ( UNDO “Switch Light State” O…