Lost Adventurer, Aleks Kirilenko (3D)
LC #42 Pipers Alley

View Full Version : Access parent and child nodes

04-23-2009, 04:21 PM
Hey everyone,

im still pretty new to maya and I was wonder how I can access child and parent nodes via mel script,

for example if I have pSphere and a rigidbody node under it it would like like this in my outliner:


if my pSphere is generated by a script, how can I access the child nodes?

Robert Bateman
04-23-2009, 05:09 PM
have a read of the docs for listRelatives

04-23-2009, 05:46 PM
awesome, just what I needed

CGTalk Moderation
04-23-2009, 05:46 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.