I am using pymel-0.9RC4.

Do we have "isInstance", "instanceOf" command in pymel way.

For example "pCube1|pCubeShape1" is the first object and "pCube2|
pCubeShape1" is the instance of first one.

if (isInstance("pCube2|pCubeShape1")):
    print instanceOf("pCube2|pCubeShape1")

would return "pCube1|pCubeShape1"

Cheers

Prashant

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to