Notifications
Clear all

[Closed] pasteBipPose not working

In Max 9, I’m using the following code to paste “Pose01” in Copy Collections “Col01”

bipRootBone = $Bip01    
poseName = biped.getCopyName bipRootBone.controller #pose 1  -- returns "Pose01"    
sliderTime = 0
with animate on
    biped.pasteBipPose bipRootBone.controller poseName false #pstdefault true true true false 
--gives ** system exception **

This code gives system exception error.
I doubt the 2nd parameter. The maxscript reference requires <ICP_MXBipedCopy>.
Please guide me on this.

The same thing works fine, when done manually.