Anim Operators

bpy.ops.anim.change_frame(frame=0)

Interactively change the current frame number

Parameters:
  • frame (int in [-300000, 300000], (optional)) – Frame
bpy.ops.anim.channels_click(extend=False, children_only=False)

Handle mouse-clicks over animation channels

Parameters:
  • extend (boolean, (optional)) – Extend Select
  • children_only (boolean, (optional)) – Select Children Only
bpy.ops.anim.channels_collapse(all=True)

Collapse (i.e. close) all selected expandable animation channels

Parameters:
  • all (boolean, (optional)) – All, Collapse all channels (not just selected ones)
bpy.ops.anim.channels_delete()

Delete all selected animation channels

bpy.ops.anim.channels_editable_toggle(mode='TOGGLE', type='PROTECT')

Toggle editability of selected channels

Parameters:
  • mode (enum in [‘TOGGLE’, ‘DISABLE’, ‘ENABLE’, ‘INVERT’], (optional, never None)) – Mode
  • type (enum in [‘PROTECT’, ‘MUTE’], (optional, never None)) – Type
bpy.ops.anim.channels_expand(all=True)

Expand (i.e. open) all selected expandable animation channels

Parameters:
  • all (boolean, (optional)) – All, Expand all channels (not just selected ones)
bpy.ops.anim.channels_select_all_toggle(invert=False)

Toggle selection of all animation channels

Parameters:
  • invert (boolean, (optional)) – Invert
bpy.ops.anim.channels_select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0)

Select all animation channels within the specified region

Parameters:
  • gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
  • xmin (int in [-inf, inf], (optional)) – X Min
  • xmax (int in [-inf, inf], (optional)) – X Max
  • ymin (int in [-inf, inf], (optional)) – Y Min
  • ymax (int in [-inf, inf], (optional)) – Y Max
bpy.ops.anim.channels_setting_disable(mode='DISABLE', type='PROTECT')

Disable specified setting on all selected animation channels

Parameters:
  • mode (enum in [‘TOGGLE’, ‘DISABLE’, ‘ENABLE’, ‘INVERT’], (optional, never None)) – Mode
  • type (enum in [‘PROTECT’, ‘MUTE’], (optional, never None)) – Type
bpy.ops.anim.channels_setting_enable(mode='ENABLE', type='PROTECT')

Enable specified setting on all selected animation channels

Parameters:
  • mode (enum in [‘TOGGLE’, ‘DISABLE’, ‘ENABLE’, ‘INVERT’], (optional, never None)) – Mode
  • type (enum in [‘PROTECT’, ‘MUTE’], (optional, never None)) – Type
bpy.ops.anim.channels_setting_toggle(mode='INVERT', type='PROTECT')

Invert specified setting on all selected animation channels

Parameters:
  • mode (enum in [‘TOGGLE’, ‘DISABLE’, ‘ENABLE’, ‘INVERT’], (optional, never None)) – Mode
  • type (enum in [‘PROTECT’, ‘MUTE’], (optional, never None)) – Type
bpy.ops.anim.channels_visibility_set()

Make only the selected animation channels visible in the Graph Editor

bpy.ops.anim.channels_visibility_toggle()

Toggle visibility in Graph Editor of all selected animation channels

bpy.ops.anim.copy_driver_button()

Copy the driver for the highlighted button

bpy.ops.anim.driver_button_add(all=True)

Add driver(s) for the property(s) connected represented by the highlighted button

Parameters:
  • all (boolean, (optional)) – All, Create drivers for all elements of the array.
bpy.ops.anim.driver_button_remove(all=True)

Remove the driver(s) for the property(s) connected represented by the highlighted button

Parameters:
  • all (boolean, (optional)) – All, Delete drivers for all elements of the array.
bpy.ops.anim.keyframe_delete(type=0, confirm_success=True)

Delete keyframes on the current frame for all properties in the specified Keying Set

Parameters:
  • type (int in [-inf, inf], (optional)) – Keying Set Number, Index (determined internally) of the Keying Set to use
  • confirm_success (boolean, (optional)) – Confirm Successful Insert, Show a popup when the keyframes get successfully added
bpy.ops.anim.keyframe_delete_button(all=True)

Undocumented (contribute)

Parameters:
  • all (boolean, (optional)) – All, Delete keyfames from all elements of the array.
bpy.ops.anim.keyframe_delete_v3d()

Undocumented (contribute)

bpy.ops.anim.keyframe_insert(type=0, confirm_success=True)

Insert keyframes on the current frame for all properties in the specified Keying Set

Parameters:
  • type (int in [-inf, inf], (optional)) – Keying Set Number, Index (determined internally) of the Keying Set to use
  • confirm_success (boolean, (optional)) – Confirm Successful Insert, Show a popup when the keyframes get successfully added
bpy.ops.anim.keyframe_insert_button(all=True)

Undocumented (contribute)

Parameters:
  • all (boolean, (optional)) – All, Insert a keyframe for all element of the array.
bpy.ops.anim.keyframe_insert_menu(type=0, confirm_success=False, always_prompt=False)

Undocumented (contribute)

Parameters:
  • type (int in [-inf, inf], (optional)) – Keying Set Number, Index (determined internally) of the Keying Set to use
  • confirm_success (boolean, (optional)) – Confirm Successful Insert, Show a popup when the keyframes get successfully added
  • always_prompt (boolean, (optional)) – Always Show Menu
bpy.ops.anim.keying_set_active_set(type=0)

Undocumented (contribute)

Parameters:
  • type (int in [-inf, inf], (optional)) – Keying Set Number, Index (determined internally) of the Keying Set to use
bpy.ops.anim.keying_set_add()

Add a new (empty) Keying Set to the active Scene

bpy.ops.anim.keying_set_export(filepath="", filter_folder=True, filter_text=True, filter_python=True)

Export Keying Set to a python script.

Parameters:
  • filepath (string, (optional)) – File Path, Filepath to write file to.
  • filter_folder (boolean, (optional)) – Filter folders
  • filter_text (boolean, (optional)) – Filter text
  • filter_python (boolean, (optional)) – Filter python
File :

ui/properties_scene.py:218

bpy.ops.anim.keying_set_path_add()

Add empty path to active Keying Set

bpy.ops.anim.keying_set_path_remove()

Remove active Path from active Keying Set

bpy.ops.anim.keying_set_remove()

Remove the active Keying Set

bpy.ops.anim.keyingset_button_add(all=True)

Undocumented (contribute)

Parameters:
  • all (boolean, (optional)) – All, Add all elements of the array to a Keying Set.
bpy.ops.anim.keyingset_button_remove()

Undocumented (contribute)

bpy.ops.anim.paste_driver_button()

Paste the driver in the copy/paste buffer for the highlighted button

bpy.ops.anim.previewrange_clear()

Undocumented (contribute)

bpy.ops.anim.previewrange_set(xmin=0, xmax=0, ymin=0, ymax=0)

Undocumented (contribute)

Parameters:
  • xmin (int in [-inf, inf], (optional)) – X Min
  • xmax (int in [-inf, inf], (optional)) – X Max
  • ymin (int in [-inf, inf], (optional)) – Y Min
  • ymax (int in [-inf, inf], (optional)) – Y Max
bpy.ops.anim.time_toggle()

Undocumented (contribute)

bpy.ops.anim.update_data_paths()

Update data paths from 2.53 to edited data paths of drivers and fcurves

File :op/animsys_update.py:693

Previous topic

Action Operators

Next topic

Armature Operators