PDA

View Full Version : change the ikSplineSolver curve name ?


MohannadGO
10-18-2006, 11:09 PM
Hi
Is any body knows how can I change the name of the result curve of the (create spline IK command) ?
ikHandle -sol ikSplineSolver;

ashishdantu
10-19-2006, 04:11 AM
hi,

you can try this :

select -r startJoint.rotatePivot ;
select -add endJoint.rotatePivot ;
string $ikSplineGuys[]=`ikHandle -sol ikSplineSolver`;
rename ($ikSplineGuys[`size($ikSplineGuys)`-1]) ("yourNewCurve");


in the above code change the startJoint and endJoint to ur required joint names and then in the last rename command line....change the "yourNewCurve" name to ur required name ....

hope that helps.

MohannadGO
10-20-2006, 04:52 AM
thank you very much it is working:thumbsup:

CGTalk Moderation
10-20-2006, 04:52 AM
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.