Module NLA
[frames | no frames]

Module NLA

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
Action This object gives access to Action-specific data in Blender.
ActionStrip This object gives access to a particular action strip.
ActionStrips This object gives access to sequence of ActionStrip objects for a particular Object.

Function Summary
PyAction CopyAction(action)
Copy an action and it's keyframes
Dictionary of PyActions GetActions()
Get all actions and return them as a Key : Value Dictionary.
PyAction NewAction(name)
Create a new Action object.

Variable Summary
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

CopyAction(action)

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

GetActions()

Get all actions and return them as a Key : Value Dictionary.
Returns:
All the actions in blender
           (type=Dictionary of PyActions)

NewAction(name='DefaultAction')

Create a new Action object.
Parameters:
name - The Action name.
           (type=string)
Returns:
PyAction

Variable Details

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
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

Generated by Epydoc 2.1 on Sun Feb 11 13:30:19 2007 http://epydoc.sf.net