PDA

View Full Version : mel question


iC4
04-21-2002, 11:44 PM
is it possible in mel to make a "if"

I want a script that smooth my model, and if i press the button again it should set the smooth division to 0

or an other question: is it possible that my script smooth the model the first time, and the second time it makes an "undo" ?

Lyr
04-21-2002, 11:47 PM
Yes you can do if else statements with MEL, check the online docs for proper syntax.

FBMachine
04-22-2002, 01:01 AM
If you know C, you know the general syntax of MEL, it is very similar. It has conditionals, standard data types, etc..
Dan

CGTalk Moderation
01-13-2006, 04:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.