ActionSlots(bpy_struct)#

base class — bpy_struct

class bpy.types.ActionSlots(bpy_struct)#

Collection of action slots

active#

Active slot for this action

Type:

ActionSlot

new(*, for_id=None)#

Add a slot to the Action

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:

ActionSlot

remove(action_slot)#

Remove the slot from the Action, including all animation that is associated with that slot

Parameters:

action_slot (ActionSlot) – Action Slot, The slot 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

Inherited Properties#

Inherited Functions#

References#