CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 10-08-2012, 06:32 AM   #1
theJackson
Veteran
portfolio
jackson five
no Company
Jersey
 
Join Date: Nov 2011
Posts: 66
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-08-2012, 07:33 AM   #2
zaskar
Expert
portfolio
franky****inFourFingaz
-
Dresden, Germany
 
Join Date: Dec 2010
Posts: 321
There is a flag for this, its "-allDescendents".
 
Old 10-08-2012, 03:15 PM   #3
zoharl
A newbie
 
zoharl's Avatar
portfolio
Zohar
Wellington, New Zealand
 
Join Date: Mar 2009
Posts: 1,820
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-09-2012, 05:59 AM   #4
theJackson
Veteran
portfolio
jackson five
no Company
Jersey
 
Join Date: Nov 2011
Posts: 66
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-09-2012, 08:11 AM   #5
zaskar
Expert
portfolio
franky****inFourFingaz
-
Dresden, Germany
 
Join Date: Dec 2010
Posts: 321
Just have a look at the docs. YouŽll find a flag that let the command return nodes of a specified type.
 
Old 10-09-2012, 08:11 AM   #6
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

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


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