ScriptSpot

Forum topic · General Scripting

wiring subAnim error

By n1n0 · 2007-10-19

Description

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 (1)

crazyosachou · 2007-10-24

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.