ActionSlot(bpy_struct)#
base class — bpy_struct
- class bpy.types.ActionSlot(bpy_struct)#
Identifier for a set of channels in this Action, that can be used by a data-block to specify what it gets animated by
- active#
Whether this is the active slot, can be set by assigning to action.slots.active
- Type:
boolean, default False, (readonly)
- handle#
Number specific to this Slot, unique within the Action. This is used, for example, on a ActionKeyframeStrip to look up the ActionChannelBag for this Slot
- Type:
int in [-inf, inf], default 0, (readonly)
- id_root#
Type of data-block that can be animated by this slot
ACTION
Action.ARMATURE
Armature.BRUSH
Brush.CACHEFILE
Cache File.CAMERA
Camera.COLLECTION
Collection.CURVE
Curve.CURVES
Curves.FONT
Font.GREASEPENCIL
Grease Pencil.GREASEPENCIL_V3
Grease Pencil v3.IMAGE
Image.KEY
Key.LATTICE
Lattice.LIBRARY
Library.LIGHT
Light.LIGHT_PROBE
Light Probe.LINESTYLE
Line Style.MASK
Mask.MATERIAL
Material.MESH
Mesh.META
Metaball.MOVIECLIP
Movie Clip.NODETREE
Node Tree.OBJECT
Object.PAINTCURVE
Paint Curve.PALETTE
Palette.PARTICLE
Particle.POINTCLOUD
Point Cloud.SCENE
Scene.SCREEN
Screen.SOUND
Sound.SPEAKER
Speaker.TEXT
Text.TEXTURE
Texture.VOLUME
Volume.WINDOWMANAGER
Window Manager.WORKSPACE
Workspace.WORLD
World.UNSPECIFIED
Unspecified – Not yet specified. When this slot is first assigned to a data-block, this will be set to the type of that data-block.
- Type:
enum in [‘ACTION’, ‘ARMATURE’, ‘BRUSH’, ‘CACHEFILE’, ‘CAMERA’, ‘COLLECTION’, ‘CURVE’, ‘CURVES’, ‘FONT’, ‘GREASEPENCIL’, ‘GREASEPENCIL_V3’, ‘IMAGE’, ‘KEY’, ‘LATTICE’, ‘LIBRARY’, ‘LIGHT’, ‘LIGHT_PROBE’, ‘LINESTYLE’, ‘MASK’, ‘MATERIAL’, ‘MESH’, ‘META’, ‘MOVIECLIP’, ‘NODETREE’, ‘OBJECT’, ‘PAINTCURVE’, ‘PALETTE’, ‘PARTICLE’, ‘POINTCLOUD’, ‘SCENE’, ‘SCREEN’, ‘SOUND’, ‘SPEAKER’, ‘TEXT’, ‘TEXTURE’, ‘VOLUME’, ‘WINDOWMANAGER’, ‘WORKSPACE’, ‘WORLD’, ‘UNSPECIFIED’], default ‘UNSPECIFIED’, (readonly)
- id_root_icon#
- Type:
int in [-inf, inf], default 0, (readonly)
- name#
Used when connecting an Action to a data-block, to find the correct slot handle. This is the display name, prefixed by two characters determined by the slot’s ID type
- Type:
string, default “”, (never None)
- name_display#
Name of the slot, for display in the user interface. This name combined with the slot’s data-block type is unique within its Action
- Type:
string, default “”, (never None)
- select#
Selection state of the slot
- Type:
boolean, default False
- show_expanded#
Expanded state of the slot
- Type:
boolean, default False
- 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