I´m struggeling or trying to understand how it works setting the set driven keys via pymel.
What I´m doing this right now is this:
pm.select( 'L_ik_fk_blend' )
pm.setDrivenKeyframe( at='IK_FK_Blend', cd='L_ik_fk_blend.IK_FK_Blend' )
I´m setting a SDK (Set Driven Key) for this attribute but I don´t understand how I can set / link the relationship between this attribute and another attribute for another attribute (driven)
Any help I´ll appreciate it!
Now I understand how it works
Just for the future references:
pm.setDrivenKeyframe( "L_hand_orientConst.L_hand_jnt_FKW0", cd='L_ik_fk_blend.IK_FK_Blend', driverValue=0, value=1 )
pm.setDrivenKeyframe( "L_hand_orientConst.L_hand_jnt_FKW0", cd='L_ik_fk_blend_crv.IK_FK_Blend', driverValue=10, value=0 )
pm.setDrivenKeyframe( "L_hand_orientConst.L_hand_jnt_IKW1", cd="L_ik_fk_blend_crv.IK_FK_Blend", driverValue=0, value=0 )
pm.setDrivenKeyframe( "L_hand_orientConst.L_hand_jnt_IKW1", cd="L_ik_fk_blend_crv.IK_FK_Blend", driverValue=10, value=1 )
This will give you a SDK for the selected constraint and the Cuve