| Item | Quantity | Price |
|---|
| Your cart is empty. Check out our collection of 3d models! |
Prices in:
Clear Cart
>> How can I retrieve the parameters of the sphere it was created using Python?
you can not, once the constuction history is gone its gone. This doesent mean you cant do a guess but theres no way to be sure.
Dont double post, mel and python have indentical constraints so th aswer would be the same.
When you duplicate the original sphere, you can choose to duplicate the incoming connections as well. This will leave you with a clone of the first sphere with the ability to modify it's properties.
Take a look at Duplicate Special Options.
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 using Python?
Thanks!