View Full Version : checking children
04-25-2003, 12:42 PM
I would like to find out if a object has children (objects parented under it..) and if so the names of the children.
hm.. hope you understand what I mean
thanks for any help
04-25-2003, 01:05 PM
ls -sl -dag -tr
you can get all the transform nodes from one seelected object. if the size of the return array = 1, there are no children.
if the return is bigger than 1, it has children and all the returned array from 1 to the size of it holds the names of the children.
04-25-2003, 01:47 PM
ahhh great! thanks
04-25-2003, 05:29 PM
"listRelatives" by default returns all the children's names (-c flag). See "mel commands" in help.
01-14-2006, 11:00 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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.