causing all the child joints into string array

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 10 October 2012   #1
causing all the child joints into string array

listRelatives -c; gives only one child, There`s a flag to list all parent joints which is -allParents, But apparently there is no such a flag to list all child joints. Wondering if there is any way to filter and cause all the child joints to a string array
Old 10 October 2012   #2
There is a flag for this, its "-allDescendents".
Old 10 October 2012   #3
Unless you meant descendants, according to the doc the default behavior of listRelatives is:

Quote: List all the children of this dag node (default).
Old 10 October 2012   #4
say if i had a joint hierarchy with bunch of IK handles on it, and if i run listRelatives -ad; Thats gonna give ikHandles Effectors along with joints as a results. But if i wanna to only get list of joint hierarchy along with the one that i selected and cause them into a string array, Would that be possible?
Old 10 October 2012   #5
Just have a look at the docs. YouŽll find a flag that let the command return nodes of a specified type.
Old 10 October 2012   #6
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 12:27 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.