Marker Operators

bpy.ops.marker.add()

Add a new time marker

bpy.ops.marker.camera_bind()

Bind the active camera to selected markers(s)

bpy.ops.marker.delete()

Delete selected time marker(s)

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)

Move selected time marker(s)

Parameters:frames (int in [-inf, inf], (optional)) – Frames
bpy.ops.marker.rename(name="RenamedMarker")

Rename first selected time marker

Parameters:name (string, (optional)) – Name, New name for marker
bpy.ops.marker.select(extend=False, camera=False)

Select time marker(s)

Parameters:
  • 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_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0, extend=True)

Select all time markers using border selection

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
  • extend (boolean, (optional)) – Extend, Extend selection instead of deselecting everything first

Previous topic

Logic Operators

Next topic

Material Operators