Action(ID)#
base classes — bpy_struct, ID
- class bpy.types.Action(ID)#
A collection of F-Curves for animation
- curve_frame_range#
The combined frame range of all F-Curves within this action
- Type:
mathutils.Vectorof 2 items in [-inf, inf], default (0.0, 0.0), (readonly)
- fcurves#
The individual F-Curves that make up the action
- Type:
ActionFCurvesbpy_prop_collectionofFCurve, (readonly)
- frame_end#
The end frame of the manually set intended playback range
- Type:
float in [-1.04857e+06, 1.04857e+06], default 0.0
- frame_range#
The intended playback frame range of this action, using the manually set range if available, or the combined frame range of all F-Curves within this action if not (assigning sets the manual frame range)
- Type:
mathutils.Vectorof 2 items in [-inf, inf], default (0.0, 0.0)
- frame_start#
The start frame of the manually set intended playback range
- Type:
float in [-1.04857e+06, 1.04857e+06], default 0.0
- groups#
Convenient groupings of F-Curves
- Type:
ActionGroupsbpy_prop_collectionofActionGroup, (readonly)
- id_root#
Type of ID block that action can be used on - DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING
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’
- pose_markers#
Markers specific to this action, for labeling poses
- Type:
ActionPoseMarkersbpy_prop_collectionofTimelineMarker, (readonly)
- use_cyclic#
The action is intended to be used as a cycle looping over its manually set playback frame range (enabling this doesn’t automatically make it loop)
- Type:
boolean, default False
- use_frame_range#
Manually specify the intended playback frame range for the action (this range is used by some tools, but does not affect animation evaluation)
- Type:
boolean, default False
- deselect_keys()#
Deselects all keys of the Action. The selection status of F-Curves is unchanged.
- flip_with_pose(object)#
Flip the action around the X axis using a pose
- Parameters:
object (
Object, (never None)) – The reference armature object to use when flipping
- 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