Marker Operators#

bpy.ops.marker.add()#

Add a new time marker

bpy.ops.marker.camera_bind()#

Bind the selected camera to a marker on the current frame

bpy.ops.marker.delete(confirm=True)#

Delete selected time marker(s)

Parameters:

confirm (boolean, (optional)) – Confirm, Prompt for confirmation

bpy.ops.marker.duplicate(frames=0)#

Duplicate selected time marker(s)

Parameters:

frames (int in [-inf, inf], (optional)) – Frames

Copy selected markers to another scene

Parameters:

scene (enum in [], (optional)) – Scene

bpy.ops.marker.move(frames=0, tweak=False)#

Move selected time marker(s)

Parameters:
  • frames (int in [-inf, inf], (optional)) – Frames

  • tweak (boolean, (optional)) – Tweak, Operator has been activated using a click-drag event

bpy.ops.marker.rename(name='RenamedMarker')#

Rename first selected time marker

Parameters:

name (string, (optional, never None)) – Name, New name for marker

bpy.ops.marker.select(wait_to_deselect_others=False, mouse_x=0, mouse_y=0, extend=False, camera=False)#

Select time marker(s)

Parameters:
  • wait_to_deselect_others (boolean, (optional)) – Wait to Deselect Others

  • mouse_x (int in [-inf, inf], (optional)) – Mouse X

  • mouse_y (int in [-inf, inf], (optional)) – Mouse Y

  • extend (boolean, (optional)) – Extend, Extend the selection

  • camera (boolean, (optional)) – Camera, Select the camera

bpy.ops.marker.select_all(action='TOGGLE')#

Change selection of all time markers

Parameters:

action (enum in ['TOGGLE', 'SELECT', 'DESELECT', 'INVERT'], (optional)) –

Action, Selection action to execute

  • TOGGLE Toggle – Toggle selection for all elements.

  • SELECT Select – Select all elements.

  • DESELECT Deselect – Deselect all elements.

  • INVERT Invert – Invert selection of all elements.

bpy.ops.marker.select_box(xmin=0, xmax=0, ymin=0, ymax=0, wait_for_input=True, mode='SET', tweak=False)#

Select all time markers using box selection

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

  • wait_for_input (boolean, (optional)) – Wait for Input

  • mode (enum in ['SET', 'ADD', 'SUB'], (optional)) –

    Mode

    • SET Set – Set a new selection.

    • ADD Extend – Extend existing selection.

    • SUB Subtract – Subtract existing selection.

  • tweak (boolean, (optional)) – Tweak, Operator has been activated using a click-drag event

bpy.ops.marker.select_leftright(mode='LEFT', extend=False)#

Select markers on and left/right of the current frame

Parameters:
  • mode (enum in ['LEFT', 'RIGHT'], (optional)) – Mode

  • extend (boolean, (optional)) – Extend Select