Nla Operators

bpy.ops.nla.action_sync_length(active=True)

Synchronise the length of the referenced Action with the lengths used in the strip

Parameters:active (boolean, (optional)) – Active Strip Only, Only sync the active length for the active strip.
bpy.ops.nla.actionclip_add(action='')

Add an Action-Clip strip (i.e. an NLA Strip referencing an Action) to the active track

Parameters:action (enum in [], (optional)) – Action
bpy.ops.nla.apply_scale()

Apply scaling of selected strips to their referenced Actions

bpy.ops.nla.bake(frame_start=1, frame_end=250, step=1, only_selected=True, clear_consraints=False, bake_types={'POSE'})

Bake animation to an Action

Parameters:
  • frame_start (int in [1, 300000], (optional)) – Start Frame, Start frame for baking
  • frame_end (int in [1, 300000], (optional)) – End Frame, End frame for baking
  • step (int in [1, 120], (optional)) – Frame Step, Frame Step
  • only_selected (boolean, (optional)) – Only Selected
  • clear_consraints (boolean, (optional)) – Clear Constraints
  • bake_types (enum set in {‘POSE’, ‘OBJECT’}, (optional)) – Bake Data
File :

startup/bl_operators/nla.py:225

bpy.ops.nla.channels_click(extend=False)

Handle clicks to select NLA channels

Parameters:extend (boolean, (optional)) – Extend Select
bpy.ops.nla.clear_scale()

Reset scaling of selected strips

bpy.ops.nla.click_select(extend=False)

Handle clicks to select NLA Strips

Parameters:extend (boolean, (optional)) – Extend Select
bpy.ops.nla.delete()

Delete selected strips

bpy.ops.nla.delete_tracks()

Delete selected NLA-Tracks and the strips they contain

bpy.ops.nla.duplicate(mode='TRANSLATION')

Duplicate selected NLA-Strips, adding the new strips in new tracks above the originals

Parameters:mode (enum in [‘INIT’, ‘DUMMY’, ‘TRANSLATION’, ‘ROTATION’, ‘RESIZE’, ‘TOSPHERE’, ‘SHEAR’, ‘WARP’, ‘SHRINKFATTEN’, ‘TILT’, ‘TRACKBALL’, ‘PUSHPULL’, ‘CREASE’, ‘MIRROR’, ‘BONE_SIZE’, ‘BONE_ENVELOPE’, ‘CURVE_SHRINKFATTEN’, ‘BONE_ROLL’, ‘TIME_TRANSLATE’, ‘TIME_SLIDE’, ‘TIME_SCALE’, ‘TIME_EXTEND’, ‘BAKE_TIME’, ‘BEVEL’, ‘BWEIGHT’, ‘ALIGN’, ‘EDGESLIDE’, ‘SEQSLIDE’], (optional)) – Mode
bpy.ops.nla.fmodifier_add(type='NULL', only_active=False)

Add F-Modifier of the specified type to the selected NLA-Strips

Parameters:
  • type (enum in [‘NULL’, ‘GENERATOR’, ‘FNGENERATOR’, ‘ENVELOPE’, ‘CYCLES’, ‘NOISE’, ‘FILTER’, ‘LIMITS’, ‘STEPPED’], (optional)) – Type
  • only_active (boolean, (optional)) – Only Active, Only add F-Modifier of the specified type to the active strip.
bpy.ops.nla.fmodifier_copy()

Copy the F-Modifier(s) of the active NLA-Strip

bpy.ops.nla.fmodifier_paste()

Add copied F-Modifiers to the selected NLA-Strips

bpy.ops.nla.meta_add()

Add new meta-strips incorporating the selected strips

bpy.ops.nla.meta_remove()

Separate out the strips held by the selected meta-strips

bpy.ops.nla.move_down()

Move selected strips down a track if there’s room

bpy.ops.nla.move_up()

Move selected strips up a track if there’s room

bpy.ops.nla.mute_toggle()

Mute or un-mute selected strips

bpy.ops.nla.properties()

Toggle display properties panel

bpy.ops.nla.select_all_toggle(invert=False)

(De)Select all NLA-Strips

Parameters:invert (boolean, (optional)) – Invert
bpy.ops.nla.select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0, axis_range=False)

Use box selection to grab NLA-Strips

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
  • axis_range (boolean, (optional)) – Axis Range
bpy.ops.nla.select_leftright(mode='CHECK', extend=False)

Select strips to the left or the right of the current frame

Parameters:
  • mode (enum in [‘CHECK’, ‘LEFT’, ‘RIGHT’], (optional)) – Mode
  • extend (boolean, (optional)) – Extend Select
bpy.ops.nla.snap(type='CFRA')

Move start of strips to specified time

Parameters:type (enum in [‘CFRA’, ‘NEAREST_FRAME’, ‘NEAREST_SECOND’, ‘NEAREST_MARKER’], (optional)) – Type
bpy.ops.nla.split()

Split selected strips at their midpoints

bpy.ops.nla.swap()

Swap order of selected strips within tracks

bpy.ops.nla.tracks_add(above_selected=False)

Add NLA-Tracks above/after the selected tracks

Parameters:above_selected (boolean, (optional)) – Above Selected, Add a new NLA Track above every existing selected one.
bpy.ops.nla.transition_add()

Add a transition strip between two adjacent selected strips

bpy.ops.nla.tweakmode_enter()

Enter tweaking mode for the action referenced by the active strip

bpy.ops.nla.tweakmode_exit()

Exit tweaking mode for the action referenced by the active strip

Previous topic

Mesh Operators

Next topic

Node Operators