Module NLA
[hide private]
[frames] | no frames]

Module NLA

source code

The Blender.Armature.NLA submodule.

NLA

This module provides access to Action objects in Blender. Actions are a series of keyframes/Ipo curves that define the movement of a bone. Actions are linked to objects of type armature.

Classes [hide private]
  Action
This object gives access to Action-specific data in Blender.
  ActionStrips
This object gives access to sequence of ActionStrip objects for a particular Object.
  ActionStrip
This object gives access to a particular action strip.
Functions [hide private]
PyAction
NewAction(name='DefaultAction')
Create a new Action object.
source code
PyAction
CopyAction(action)
Copy an action and it's keyframes
source code
Dictionary of PyActions
GetActions()
Get all actions and return them as a Key : Value Dictionary.
source code
Variables [hide private]
readonly dictionary Flags
Constant dict used by the ActionStrip.flag attribute.
readonly dictionary Modes
Constant dict used by the ActionStrip.mode attribute.
readonly dictionary StrideAxes
Constant dict used by the ActionStrip.strideAxis attribute.
Function Details [hide private]

NewAction(name='DefaultAction')

source code 
Create a new Action object.
Parameters:
  • name (string) - The Action name.
Returns: PyAction

CopyAction(action)

source code 
Copy an action and it's keyframes
Parameters:
  • action (PyAction) - The action to be copied.
Returns: PyAction
A copied action

GetActions()

source code 
Get all actions and return them as a Key : Value Dictionary.
Returns: Dictionary of PyActions
All the actions in blender

Variables Details [hide private]

Flags

Constant dict used by the ActionStrip.flag attribute. It is a bitmask and settings are ORed together.
  • SELECT: action strip is selected in NLA window
  • STRIDE_PATH: play action based on path position and stride.
  • HOLD: continue displaying the last frame past the end of the strip
  • ACTIVE: action strip is active in NLA window
  • LOCK_ACTION: action start/end are automatically mapped to strip duration
  • MUTE: action strip does not contribute to the NLA solution
  • USEX: Turn off automatic single-axis cycling and use X as an offset axis. Note that you can use multiple axes at once.
  • USEY: Turn off automatic single-axis cycling and use Y as an offset axis. Note that you can use multiple axes at once.
  • USEZ: Turn off automatic single-axis cycling and use Z as an offset axis. Note that you can use multiple axes at once.
  • AUTO_BLEND: Automatic calculation of blend in/out values
Type:
readonly dictionary

Modes

Constant dict used by the ActionStrip.mode attribute. Currently the only value is MODE_ADD.
Type:
readonly dictionary

StrideAxes

Constant dict used by the ActionStrip.strideAxis attribute. Values are STRIDEAXIS_X, STRIDEAXIS_Y, and STRIDEAXIS_Z.
Type:
readonly dictionary