ActionStrips(bpy_struct)¶
base class — bpy_struct
- class bpy.types.ActionStrips(bpy_struct)¶
Collection of animation strips
- new(*, type='KEYFRAME')¶
Add a new strip to the layer. Currently a layer can only have one strip, with infinite boundaries.
- Parameters:
type (enum in ['KEYFRAME'], (optional)) –
Type, The type of strip to create
KEYFRAME
Keyframe – Strip containing keyframes on F-Curves.
- Returns:
Newly created animation strip
- Return type:
- remove(anim_strip)¶
Remove the strip from the animation layer
- Parameters:
anim_strip (
ActionStrip
) – Animation Strip, The strip to remove
- classmethod bl_rna_get_subclass(id, default=None)¶
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type:
bpy.types.Struct
subclass
- classmethod bl_rna_get_subclass_py(id, default=None)¶
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type