PlotFrameSetToActions
 
 
 

PlotFrameSetToActions

Introduced

v12.0 (2014)

Description

Creates and returns new actions by plotting values from a frame set consisting of frame numbers. Actions are created under models containing animated parameters matching the specified list.

Scripting Syntax

oReturn = PlotFrameSetToActions( [InputObj], [Name], [StartFrame], FrameSet, [FCurve Kind], [DefaultSegKind], [Fit FCurve], [Fit Tolerance], [ProcessContRots] );

Return Value

Returns the created actions (a XSICollection object).

Parameters

Parameter Type Description
InputObj String List of parameters to plot into actions.

Default Value: Marked values in current selection

Name String Name for the actions

Default Value: "Action"

StartFrame Double First frame to plot

Default Value: 0

FrameSet Array Array of scene time in seconds to plot each frame at.
FCurve Kind Integer What kind of fcurve do we want to plot to?

Default Value: 20

Possible Values:

Description:

10 BOOLEAN (value true or false)
15 INTEGER (staircase-like fcurve with integer values)
20 STANDARD (fcurve with spline/linear/constant interpolation)
30 RAWDATA (linear fcurve: less storage than a standard fcurve but with linear interpolation only)
DefaultSegKind Integer What kind of interpolation do we want for the resulting fcurves?

Note: Only relevant when FCurveKind is 20 (Standard).

Default Value: 3

Possible Values:

Description:

1 CONSTANT
2 LINEAR
3 CUBIC
Fit FCurve Boolean Do we want to fit an fcurve through the plotted values?

Default Value: False

Fit Tolerance Double What tolerance do we want for the fit?

Default Value: 0.01

ProcessContRots Boolean Do we want to process rotation curves to ensure their continuity?

Default Value: True

See Also

PlotToActions PlotAndApplyActions PlotConstrainedTransformsToActions PlotKeyableToActions StoreAction PlotCameraSequencer