Wiring via. Maxscript

Hey..

Im trying to wire the weights of a position controller to a custom slider added to a shape.

What i get from the listener is:-

paramWire.connect $CTRL_IK_Hand.modifiers[#Arm_Controls].ArmCA[#Blend] $.pos.controller[#Weight_IK] "Blend"

But it returns "-- Runtime error: connect requires subAnims", when I use this code.

I dont understand why it doesn't think the slider/weight is a subanim??

Comments

Comment viewing options

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

Thanks

Had the same problem here with a Position Lists weights and wiring - and you solved my problem!

The listener kicked out:
$CC_RWristLock_Point.pos.controller[#Weight__Position_Constraint] "wristLock"

But it should have been :
$CC_RWristLock_Point.pos.controller[#Weights][#Weight__Position_Constraint] "wristLock"

Luke Maskell - Technical Arist

Poker's picture

found out that the listener

found out that the listener outputted the wrong code for the the IK Weights. it "forgot" to name the weights command before, so the right one is:-

paramWire.connect $CTRL_IK_Hand.modifiers[#Arm_Controls].ArmCA[#Blend] $LowerArm_LookAt.pos.controller[#Weights][#Weight__IK] "Blend"

Comment viewing options

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