View Full Version : Rigging script

05 May 2009, 04:46 PM
I have written a script to rig an already-boned character.

The script uses functions throughout as there are instances of passing "L" and "R" parameters to rig each side.

It's not quite finished yet and I use Tools > Evaluate All from the Maxscript Editor window.

Sometimes the script runs from start to finish with no errors. Sometime it has problems just creating IKSolvers, which is one of the first things it does. This make subsequent code fail, such as adding Custom Attributes, because the controls don't exist.

Is there a problem with some of my variable definitions. I do re-use quite a lot.

Sometimes, when the script doesn't complete when I use Evaluate All, I can select the lines and use Evaluate Line/Selection and it works.

05 May 2009, 05:01 PM
It's really hard to tell without further information...(The error message or the code...preferably both)

05 May 2009, 05:07 PM
again, difficult to work out but is probably a scope issue. what does the listener say?

05 May 2009, 07:39 PM
Thanks both for your reply.

Attached is the script - hope it makes sense: I'm fairly new to MaxScript.

Also attached is a sample scene to play with.

All guidance gratefully received.

CGTalk Moderation
05 May 2009, 07:39 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.