Poselib Operators

bpy.ops.poselib.action_sanitize()

Make action suitable for use as a Pose Library

bpy.ops.poselib.apply_pose(pose_index=-1)

Apply specified Pose Library pose to the rig

Parameters:pose_index (int in [-2, inf], (optional)) – Pose, Index of the pose to apply (-2 for no change to pose, -1 for poselib active pose)
bpy.ops.poselib.browse_interactive(pose_index=-1)

Interactively browse poses in 3D-View

Parameters:pose_index (int in [-2, inf], (optional)) – Pose, Index of the pose to apply (-2 for no change to pose, -1 for poselib active pose)
bpy.ops.poselib.new()

Add New Pose Library to active Object

bpy.ops.poselib.pose_add(frame=1, name="Pose")

Add the current Pose to the active Pose Library

Parameters:
  • frame (int in [0, inf], (optional)) – Frame, Frame to store pose on
  • name (string, (optional, never None)) – Pose Name, Name of newly added Pose
bpy.ops.poselib.pose_move(pose='', direction='UP')

Move the pose up or down in the active Pose Library

Parameters:
  • pose (enum in [], (optional)) – Pose, The pose to move
  • direction (enum in ['UP', 'DOWN'], (optional)) – Direction, Direction to move the chosen pose towards
bpy.ops.poselib.pose_remove(pose='')

Remove nth pose from the active Pose Library

Parameters:pose (enum in [], (optional)) – Pose, The pose to remove
bpy.ops.poselib.pose_rename(name="RenamedPose", pose='')

Rename specified pose from the active Pose Library

Parameters:
  • name (string, (optional, never None)) – New Pose Name, New name for pose
  • pose (enum in [], (optional)) – Pose, The pose to rename

Remove Pose Library from active Object