Package bpy :: Package ops :: Module action
[hide private]
[frames] | no frames]

Module action

Functions [hide private]
 
clean(threshold=0.001)
Simplify F-Curves by removing closely spaced keyframes.
 
clickselect(left_right='OFF', extend=False, column=False)
Select keyframes by clicking on them.
 
copy()
Copy selected keyframes to the copy/paste buffer.
 
delete()
Remove all selected keyframes.
 
duplicate(mode=17)
Make a copy of all selected keyframes.
 
extrapolation_type(type='CONSTANT')
Set extrapolation mode for selected F-Curves.
 
frame_jump()
Set the current frame to the average frame of the selected keyframes.
 
handle_type(type='FREE')
Set type of handle for selected keyframes.
 
interpolation_type(type='CONSTANT')
Set interpolation mode for the F-Curve segments starting from the selected keyframes.
 
keyframe_type(type='KEYFRAME')
Set type of keyframe for the seleced keyframes.
 
mirror(type='CFRA')
Flip selected keyframes over the selected mirror line.
 
new()
Create new action.
 
paste()
Paste keyframes from copy/paste buffer for the selected channels, starting on the current frame.
 
previewrange_set()
Set Preview Range based on extents of selected Keyframes.
 
sample()
Add keyframes on every frame between the selected keyframes.
 
select_all_toggle(invert=False)
Toggle selection of all keyframes.
 
select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0, axis_range=False)
Select all keyframes within the specified region.
 
select_column(mode='KEYS')
Select all keyframes on the specified frame(s).
 
snap(type='CFRA')
Snap selected keyframes to the times specified.
 
view_all()
Reset viewable area to show full keyframe range.
Function Details [hide private]

clean(threshold=0.001)

 

Simplify F-Curves by removing closely spaced keyframes.

Parameters:
  • threshold (float) - in (0, inf)

clickselect(left_right='OFF', extend=False, column=False)

 

Select keyframes by clicking on them.

Parameters:
  • left_right (enum) - in (CHECK, OFF, LEFT, RIGHT)
  • column (boolean)
  • extend (boolean)

duplicate(mode=17)

 

Make a copy of all selected keyframes.

Parameters:
  • mode (int) - in (0, inf)

extrapolation_type(type='CONSTANT')

 

Set extrapolation mode for selected F-Curves.

Parameters:
  • type (enum) - in (CONSTANT, LINEAR)

handle_type(type='FREE')

 

Set type of handle for selected keyframes.

Parameters:
  • type (enum) - in (FREE, AUTO, VECTOR, ALIGNED, AUTO_CLAMPED)

interpolation_type(type='CONSTANT')

 

Set interpolation mode for the F-Curve segments starting from the selected keyframes.

Parameters:
  • type (enum) - in (CONSTANT, LINEAR, BEZIER)

keyframe_type(type='KEYFRAME')

 

Set type of keyframe for the seleced keyframes.

Parameters:
  • type (enum) - in (KEYFRAME, BREAKDOWN, EXTREME)

mirror(type='CFRA')

 

Flip selected keyframes over the selected mirror line.

Parameters:
  • type (enum) - in (CFRA, YAXIS, XAXIS, MARKER)

select_all_toggle(invert=False)

 

Toggle selection of all keyframes.

Parameters:
  • invert (boolean)

select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0, axis_range=False)

 

Select all keyframes within the specified region.

Parameters:
  • gesture_mode (int) - in (-inf, inf)
  • xmin (int) - in (-inf, inf)
  • xmax (int) - in (-inf, inf)
  • ymin (int) - in (-inf, inf)
  • ymax (int) - in (-inf, inf)
  • axis_range (boolean)

select_column(mode='KEYS')

 

Select all keyframes on the specified frame(s).

Parameters:
  • mode (enum) - in (KEYS, CFRA, MARKERS_COLUMN, MARKERS_BETWEEN)

snap(type='CFRA')

 

Snap selected keyframes to the times specified.

Parameters:
  • type (enum) - in (CFRA, NEAREST_FRAME, NEAREST_SECOND, NEAREST_MARKER)