Notifications
Clear all
[Closed] A question anout Conditional statement ?
Sep 11, 2011 12:52 pm
Help !
A question anout Conditional statement ,
toolmode.SelectionCenter()
toolmode.PivotCenter()
if toolmode.SelectionCenter() == true or if toolmode.PivotCenter() == true ,use maxscript how to write ?
4 Replies
Sep 11, 2011 12:52 pm
if toolMode.GetCoordCenter() == #local or toolMode.GetCoordCenter() == #selection do
(
)
or more optimized
if (local tMode = toolMode.GetCoordCenter()) == #local or tMode == #selection do
(
)
Sep 11, 2011 12:52 pm
Oh I’m sorry, made a typo. This is correct syntax.
if GetCoordCenter() == #local or GetCoordCenter() == #selection do
(
)