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
bpy.ops.marker.select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0)

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

Previous topic

Logic Operators

Next topic

Material Operators