AddPoseActionItems
 
 
 

AddPoseActionItems

Introduced

v1.0

Description

Adds items for the X, Y, and Z scaling, rotation, and translation to the selected actions. Typically, this is used to build a connection to a parent offset object, to allow control over matching the end pose of the root object of an action with the start pose of the next, in a non-destructive fashion.

Scripting Syntax

AddPoseActionItems( [InputObjs], [Name] );

Parameters

Parameter Type Description
InputObjs String List of source actions

Default Value: Current selected objects

Name String Name to use for the root offset object

Default Value: "OFFSET_ROOT"

Examples

VBScript Example

CreatePrim "Grid", "NurbsSurface" 
SaveKey "grid.kine.local.posx", 5, 0 
SaveKey "grid.kine.local.posx", 30, 5 
StoreAction , "/kine.local.pos", 2, "testStoredAction" 
AddPoseActionItems "testStoredAction", "offsetNull"

See Also

StoreAction PlotToActions ImportAction OffsetValueMap