type to search

Retrieving mesh source of duplicated object in Maya using Python

Asked by

Example, we create a sphere using polySphere creating polySphere1. then we duplicate it (Ctrl + D) creating polySphere2 and change its transform. Now I traverse all meshes in the scene and want to find how they were created. For polySphere1 it’s easy as I can get to the original node using inMesh attribute but polySphere2 doesn’t have any input connections and any additional parents. How can I retrieve the parameters of the sphere it was created through using Python API?


or Cancel

Your answer

You need to join VFX Overflow to complete this action, click here to do so.