Can lines like Animator.SetIKPositionWeight work if the armature this is being used on does not have any ik bones?
Animator.SetIKPositionWeight