MAXScript problem!

Started by
1 comment, last by matpatnik 18 years, 10 months ago
I'm stuck in the tutorial of 3ds max 5 at caracter rigging (spine) section. I try to get the length of the spline path and can't get it. They say: -Open the MAXScript Listener window. -Type curveLength $splineIKSpineCurve and then press the ENTER key on the numeric keypad. This executes the command. A number will be returned. This number is the length of the curve path. But when I fallow the instruction MAX say: --No ""curveLength"" funtion for undefined each time :/ Thank you for your help MPN
Advertisement
It doesn't know what "$splineIKSpineCurve" is, so it considers the value to be "undefined".

$ refers to the currently selected object.

If a spine bone has the property "splineIKSpineCurve" and you have thet bone selected while you run the script then "$.splineIKSpineCurve" might work as a parameter to the curveLength function. But without the dot, it is gibberish.

I don't have max on this machine, so I can only give you educated guesses.
I didn't name the spline properly (I'm still learning how the whole thing work lol)

curveLength $SplineIKNode01
48.8093

Thank you anyway

MPN

This topic is closed to new replies.

Advertisement