Hi everybody!
I have a question on whether it's possible to ignore the case sensitivity
when checking if something exists. Here's an example:
if cmds.objExists("L_*_CNTL") == False:
cmds.error("Error! No left side CNTLs were found!")
Basically I want to check if there are controllers that have the "L" prefix
and "CNTL" suffix, but sometimes there might be scenarios where the rigger
used different naming conventions, using lower case "l", lower case "cntl"
or a mix, like "Cntl".
Thanks!
-Francesco
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/f4dd73f5-5fea-4571-bc72-8effb021c0e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.