If clause help

Hi everybody
I have an if clause problem

example
IF (selection.count >0) then ( ) else ( messageBox "There is no objects selected, Please select objects and try again")

now problem:
so come to think having Bend modifier and i need an If clause like this:

1: If there is a bend modifier on selected objects then ( ) and if there is no bend modifier show this message else( )

2: If the specific modifier has no animation show this message else ( )

Thanks in advance

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Jaber_Zaker_Joybari's picture

validMofier !?

sorry
which version of max you are working? 2011 nothing similar (validMofier)

Thanks anyway.

Raffx's picture

validModifier sorry!!:-)

validModifier sorry!!:-)

Raffx's picture

hi, you can use validMofier

hi,
you can use validMofier method, check maxscript help

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.