View Full Version : change the ikSplineSolver curve name ?

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

10 October 2006, 03:11 AM

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.

10 October 2006, 03:52 AM
thank you very much it is working:thumbsup:

CGTalk Moderation
10 October 2006, 03: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.