ActionStrips(bpy_prop_collection)
base classes — bpy_prop, bpy_prop_collection
- class bpy.types.ActionStrips(bpy_prop_collection)
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 (Literal['KEYFRAME']) –
Type, The type of strip to create (optional)
KEYFRAMEKeyframe – 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.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type