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.apply_pose_asset(blend_factor=1.0, flipped=False)

Apply the given Pose Action to the rig

Parameters
  • blend_factor (float in [0, 1], (optional)) – Blend Factor, Amount that the pose is applied on top of the existing poses

  • flipped (boolean, (optional)) – Apply Flipped, When enabled, applies the pose flipped over the X-axis

bpy.ops.poselib.apply_pose_asset_for_keymap()

Apply the given Pose Action to the rig

File

addons/pose_library/operators.py:447

bpy.ops.poselib.blend_pose_asset(blend_factor=0.0, flipped=False, release_confirm=False)

Blend the given Pose Action to the rig

Parameters
  • blend_factor (float in [0, 1], (optional)) – Blend Factor, Amount that the pose is applied on top of the existing poses

  • flipped (boolean, (optional)) – Apply Flipped, When enabled, applies the pose flipped over the X-axis

  • release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button

bpy.ops.poselib.blend_pose_asset_for_keymap()

Blend the given Pose Action to the rig

File

addons/pose_library/operators.py:419

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.convert_old_poselib()

Create a pose asset for each pose marker in the current action

File

addons/pose_library/operators.py:469

bpy.ops.poselib.copy_as_asset()

Create a new pose asset on the clipboard, to be pasted into an Asset Browser

File

addons/pose_library/operators.py:226

bpy.ops.poselib.create_pose_asset(pose_name='', activate_new_action=True)

Create a new Action that contains the pose of the selected bones, and mark it as Asset. The asset will be stored in the current blend file

Parameters
  • pose_name (string, (optional, never None)) – Pose Name

  • activate_new_action (boolean, (optional)) – Activate New Action

File

addons/pose_library/operators.py:103

bpy.ops.poselib.new()

Add New Pose Library to active Object

bpy.ops.poselib.paste_asset()

Paste the Asset that was previously copied using Copy As Asset

File

addons/pose_library/operators.py:301

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_asset_select_bones(select=True, flipped=False)

Select those bones that are used in this pose

Parameters
  • select (boolean, (optional)) – Select

  • flipped (boolean, (optional)) – Flipped

File

addons/pose_library/operators.py:340

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

bpy.ops.poselib.restore_previous_action()

Switch back to the previous Action, after creating a pose asset

File

addons/pose_library/operators.py:179

Remove Pose Library from active Object