PDA

View Full Version : Detecting a # in an oject name


Dmaxer
01-14-2007, 12:44 PM
what I would like it to do is this , if theres a # in the name do A if not do B ,is this something that maxscript can do ?

anyhelp would be great and Thanks for reading

Zbuffer
01-14-2007, 01:10 PM
Hi,

if (findstring $.name "#") !=undefined then (print "#") else (print "No #")

Dmaxer
01-14-2007, 03:02 PM
Thanks Zbuffer :)

CGTalk Moderation
01-14-2007, 03:02 PM
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.