GetStoreActionDefaults

Introduced

v1.0

Categories

animmixer

Description

Gets the suggested clip in, clip out, and number of items that would be used when storing an action.

Note: This command uses output arguments. C# and some scripting languages (such as JScript, PerlScript and Python) don't support arguments passed by reference so you need to use the best workaround for your situation:

For scripting languages this command returns an ISIVTCollection which you can use to get the output arguments.

For C# you can use the XSIApplication.ExecuteCommand method to call this command. ExecuteCommand packs the output arguments into a C# System.Object containing an Array of the output arguments (see Calling Commands from C#).

Scripting Syntax

GetStoreActionDefaults( [Model], [InputObj], [Mode], [From], [To], [Size] );

Parameters

Parameter Type Description
Model String NOT USED.
InputObj String List of animatable parameters to put into the action.

Default Value: Current marking and selection

Mode Integer Specifies what animation and values to put in the action.

Default Value: 1

Possible Values:

Description:

0 Put no data into the action (creates an empty action).
1 Put the current parameter values in the action (a static action).
2 Put fcurves to the action.
3 Put expressions to the action.
4 Put constraints to the action.
5 Put fcurves, expressions, and constraints into the action.
6 Put fcurves, expressions, and constraints into the action, and the current values of non-animated parameters.
From Double Returns the clip in for the action.
To Double Returns the clip out for the action
Size Integer Returns the number of items that would be stored in the action.

See Also

StoreAction