AnimData(bpy_struct)

base class — bpy_struct

class bpy.types.AnimData(bpy_struct)

Animation data for data-block

action

Active Action for this data-block

Type:Action
action_blend_type

Method used for combining Active Action’s result with result of NLA stack

  • REPLACE Replace, The strip values replace the accumulated results by amount specified by influence.
  • COMBINE Combine, The strip values are combined with accumulated results by appropriately using addition, multiplication, or quaternion math, based on channel type.
  • ADD Add, Weighted result of strip is added to the accumulated results.
  • SUBTRACT Subtract, Weighted result of strip is removed from the accumulated results.
  • MULTIPLY Multiply, Weighted result of strip is multiplied with the accumulated results.
Type:enum in [‘REPLACE’, ‘COMBINE’, ‘ADD’, ‘SUBTRACT’, ‘MULTIPLY’], default ‘REPLACE’
action_extrapolation

Action to take for gaps past the Active Action’s range (when evaluating with NLA)

  • NOTHING Nothing, Strip has no influence past its extents.
  • HOLD Hold, Hold the first frame if no previous strips in track, and always hold last frame.
  • HOLD_FORWARD Hold Forward, Only hold last frame.
Type:enum in [‘NOTHING’, ‘HOLD’, ‘HOLD_FORWARD’], default ‘HOLD’
action_influence

Amount the Active Action contributes to the result of the NLA stack

Type:float in [0, 1], default 1.0
drivers

The Drivers/Expressions for this data-block

Type:AnimDataDrivers bpy_prop_collection of FCurve, (readonly)
nla_tracks

NLA Tracks (i.e. Animation Layers)

Type:NlaTracks bpy_prop_collection of NlaTrack, (readonly)
use_nla

NLA stack is evaluated when evaluating this block

Type:boolean, default False
use_pin
Type:boolean, default False
use_tweak_mode

Whether to enable or disable tweak mode in NLA

Type:boolean, default False
nla_tweak_strip_time_to_scene(frame, invert=False)

Convert a time value from the local time of the tweaked strip to scene time, exactly as done by built-in key editing tools. Returns the input time unchanged if not tweaking.

Parameters:
  • frame (float in [-1.04857e+06, 1.04857e+06]) – Input time
  • invert (boolean, (optional)) – Invert, Convert scene time to action time
Returns:

Converted time

Return type:

float in [-1.04857e+06, 1.04857e+06]

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

Inherited Properties

Inherited Functions

References