Hi guys!
I have created a polySphere in my scene and I would like to get access to its polySphere node.
I wrote the following pymel script.
import pymel.core as pm;
obj = pm.ls(selection=True);
print( obj );
The output is an array with 1 entry which is
[nt.Transform(u’pSphere1’)]
I would like to get access to the polySphere node so I can dynamically adjust the radius.
Is there anyway to get to the polySphere node from its transform node via listRelatives or some other command I don’t know? Thanks!