Marker Operators¶
-
bpy.ops.marker.add()¶ Add a new time marker
-
bpy.ops.marker.camera_bind()¶ Bind the active camera to selected marker(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
-
bpy.ops.marker.make_links_scene(scene='')¶ 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, never None)) – 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
TOGGLEToggle, Toggle selection for all elements.SELECTSelect, Select all elements.DESELECTDeselect, Deselect all elements.INVERTInvert, Invert selection of all elements.
-
bpy.ops.marker.select_border(xmin=0, xmax=0, ymin=0, ymax=0, deselect=False, extend=True)¶ Select all time markers using border 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
- deselect (boolean, (optional)) – Deselect, Deselect rather than select items
- extend (boolean, (optional)) – Extend, Extend selection instead of deselecting everything first