Piflik
@piflik
New Member
Joined: Feb 15, 2024
Topics: 2 / Replies: 79
Reply
RE: Error handling and "pass-through"

Something like this: on checkbox chaged do ( if selection != undefined do ( YOUR CODE HERE ) else ( Messagebox “Please select at least one object!”…

16 years ago
Forum
Reply
RE: Mesh Creation – Smoothing problem

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…

16 years ago
Forum
Reply
RE: Simple Script help

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…

16 years ago
Forum
Reply
RE: Simple Script help

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…

16 years ago
Forum
Reply
RE: Check if file exist before writing

This is directly taken from the MaxScript User Reference: fn existFile fname = (getfiles fname).count != 0 This Function test if the specified file …

16 years ago
Forum
Reply
RE: NEWBIE – Modifyng bitmap color

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…

16 years ago
Forum
Reply
RE: $.rotation.controller.x_rotation.keys not working when accessed via a variable?

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…

16 years ago
Forum
Reply
RE: $.rotation.controller.x_rotation.keys not working when accessed via a variable?

I’m not sure either, but if both work take the shorter one

16 years ago
Forum
Reply
RE: $.rotation.controller.x_rotation.keys not working when accessed via a variable?

.x_rotation is a numerical number (float) and not a controller, thus not keyable. Use .x_rotation.controller That should work…(no guaranties thoug…

16 years ago
Forum
Reply
RE: accuracy issues

:bowdown: :bowdown: :bowdown: It always is…

16 years ago
Forum
Reply
RE: Really simple question.

Yeah, but as groutcho and Gravey said, the ‘== true’ is completely redundant.

16 years ago
Forum
Reply
RE: How to avoid restarting Max for script update

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…

16 years ago
Forum
Reply
RE: How to avoid restarting Max for script update

You don’t have to restart max. You just have to re-evaluate the script. (or am I missing something fundamental?)

16 years ago
Forum
Reply
RE: Changing prefix of a variable by press a button?

That might be a strange question, but why would you want to change a variable’s name?

16 years ago
Forum
Reply
RE: skipping loop iterations

Would that work? For i in 1 to myArray.count where classoff myArray[i] == struct do ()

16 years ago
Forum
Page 4 / 6