ActionSlots(bpy_struct)#
base class — bpy_struct
- class bpy.types.ActionSlots(bpy_struct)#
Collection of action slots
- active#
Active slot for this action
- Type:
- new(for_id=None)#
Add a slot to the animation
- Parameters:
for_id (
ID
, (optional)) – Data-Block, If given, the new slot will be named after this data-block, and limited to animating data-blocks of its type. If ommitted, limiting the ID type will happen as soon as the slot is assigned- Returns:
Newly created action slot
- Return type:
- classmethod bl_rna_get_subclass(id, default=None)#
- Parameters:
id (string) – 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 (string) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type