switch statement.

35 views
Skip to first unread message

Red

unread,
Jul 27, 2010, 4:51:19 AM7/27/10
to Pymel Python Module for Maya
Hello all,

I just started with pymel and I'm still a novice in python so I am
learning as I go along.

Is it possible to create a switch statement in pymel ?
for example.

switch(var1) :
case 0:
print("You typed zero.\n");
break;

So far I am only getting errors while trying to create it.
Any idea's or suggestions ?

thanks.
red
Reply all
Reply to author
Forward
0 new messages