Something like this: on checkbox chaged do ( if selection != undefined do ( YOUR CODE HERE ) else ( Messagebox “Please select at least one object!”…
You cannot loop through the Faces and apply autosmooth on them. This way it will always assign SG1 (No! This is not a Stargate pun!). Autosmooth wants…
OK…that i = 1 inside the loop was stupid…I can admit that But the prefix one should work. At least I found ‘prefix’ in the MaxScript Reference under…
This might work…(You have to replace “path” with the maxfile you want to merge and “newname” with the name you want to give them) clearSelection() m…
This is directly taken from the MaxScript User Reference: fn existFile fname = (getfiles fname).count != 0 This Function test if the specified file …
This gets the Bitmap in the DiffuseSlot of the Material in the first slot in the Material Editor and sets its gamma to 2.2…maybe…: Diff = meditMateri…
AFAIK, you cannot ask a variable if it is animated. ‘isAnimated’ needs a property to work with, and these aren’t saved in variables by default. The o…
I’m not sure either, but if both work take the shorter one
.x_rotation is a numerical number (float) and not a controller, thus not keyable. Use .x_rotation.controller That should work…(no guaranties thoug…
:bowdown: :bowdown: :bowdown: It always is…
Yeah, but as groutcho and Gravey said, the ‘== true’ is completely redundant.
That is really quite strange…AFAIK, all MacroScripts only need to reevaluate to use the new code. Have you tried deleting the 3dsmax.ini? That’s alway…
You don’t have to restart max. You just have to re-evaluate the script. (or am I missing something fundamental?)
That might be a strange question, but why would you want to change a variable’s name?
Would that work? For i in 1 to myArray.count where classoff myArray[i] == struct do ()