View Full Version : easy scritpting question

04 April 2006, 03:44 AM

here is my question, how do I write a script that when i run it will check to see if an object is there say a locator and if it is then create something like a cube. I'm not a scripter as you can see just would like to know. thanks

04 April 2006, 06:35 AM
if (`objExists myLocatorName`)

i'm not in front of maya right now, but i think these are the commands :)

04 April 2006, 08:38 AM
worked great.

thanks a bunch

CGTalk Moderation
04 April 2006, 08:38 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.