XM Magdalena 3D print, GGeorgy (3D)
LC #42 Pipers Alley

View Full Version : change the ikSplineSolver curve name ? MEL

10-18-2006, 01:35 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-19-2006, 02:38 AM
I don't know, is it a difficult question or non understandable?
please give me any Ideas or replies if you know..

Thanks in advance

10-19-2006, 02:52 AM
btw cgtalk does have a mel section: http://forums.cgsociety.org/forumdisplay.php?f=89
anyways to answer your question...

every command in mel has a return type of the object created.. so if you capture that output into a string array or string (depending on the command) you can know what the name of the object is, then it is simply using the rename command and change the name.

string $ikHandle[] = `ikHandle -sol ikSplineSolver`;
rename $ikHandle[0] "myIkHandle";

ps: it can be possible that the command might return a string so run the command and see the result...

10-19-2006, 01:09 PM
Thank you darktding (http://forums.cgsociety.org/member.php?u=91782) a lot, I think this will be helpful:)

CGTalk Moderation
10-19-2006, 01:09 PM
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.