wiring subAnim error

Hello,

I'm making a simple script that sets up a IKFK blend. Everything has been going well but the last step of the script is giving me some problems.

paramWire.connect ikCtrlD.baseObject.objectData[#fkikBlend] ikCtrlD.position.controller[#Weight__Position_Constraint] "fkikBlend/10"

The script above keeps coming up with an:

"Run time error: connect requires subAnims"

I really just took the code from macro listener and replaced the selections ($) with my variables.

So yeah, thats the problem. Any help or solutions would be greatly appreciated.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
crazyosachou's picture

hi, i didn't remember u !!

hi, i didn't remember u !! try to explain what u want, with out looking for max-listner.
It happend sometimes that the copy pasted function from listener don't stuck. Explain what u want exactly and i 'll try to help u.

learn more,learn as fast as u can, coz u can be not able to learn more tommorow!!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.