Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / MEL / How to Select joint hierarchy with the Script?
  RSS 2.0 ATOM  

How to Select joint hierarchy with the Script?
Rate this thread
 
49865
 
Permlink of this thread  
avatar
  • Location: Hyderabad
  • Total Posts: 38
  • Joined: 13 November 2010 05:06 AM

Hi, how to select joint hierarchy with the script, or if select the parent joint the i want to select whole hierarchy (listReleatives or listConnections) like.
so how to do this
b’se i want to create spine stretch, i created script for arclength, multiplydivide nodes,and connecting arclength to multplydivides with just one click. but when connection to create for m’divide node to joints i have to select joints manually in outliner, instead of this how can i select hierarchy with script.



Krishna

Replies: 0
avatar
  • OJ_Rocks
  • Posted: 25 November 2010 10:21 PM

Very Simple:

select -hi;

Selecting First Joint with hierarchy with Script:

select "Your Joint name without quotes";
select -hi;


Replies: 0