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)
- identifier
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
- target_id_type
Type of data-block that this slot is intended to animate; can be set when ‘UNSPECIFIED’ but is otherwise read-only
ACTIONAction.ARMATUREArmature.BRUSHBrush.CACHEFILECache File.CAMERACamera.COLLECTIONCollection.CURVECurve.CURVESCurves.FONTFont.GREASEPENCILGrease Pencil.GREASEPENCIL_V3Grease Pencil v3.IMAGEImage.KEYKey.LATTICELattice.LIBRARYLibrary.LIGHTLight.LIGHT_PROBELight Probe.LINESTYLELine Style.MASKMask.MATERIALMaterial.MESHMesh.METAMetaball.MOVIECLIPMovie Clip.NODETREENode Tree.OBJECTObject.PAINTCURVEPaint Curve.PALETTEPalette.PARTICLEParticle.POINTCLOUDPoint Cloud.SCENEScene.SCREENScreen.SOUNDSound.SPEAKERSpeaker.TEXTText.TEXTURETexture.VOLUMEVolume.WINDOWMANAGERWindow Manager.WORKSPACEWorkspace.WORLDWorld.UNSPECIFIEDUnspecified – 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'"
- target_id_type_icon
- Type:
int in [-inf, inf], default 0, (readonly)
- users()
Return the data-blocks that are animated by this slot of this action
- Returns:
users
- Return type:
- duplicate()
Duplicate this slot, including all the animation data associated with it
- Returns:
Duplicated Slot, The slot created by duplicating this one
- Return type:
- 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.Structsubclass
- 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