Is there a way to see if an object exists in Maya, but only search for a partial object name?
Example, search for an object that starts with object
, but it's actual name is object_001
.
Is there a way to do this? As it stands I only know how to search for a specific name:
if (objExists('object_001'):
//Do Something
But obviously the obj
stringwould have to be exact to the object e it self.