PlotConstrainedTransformsToActions

Introduced

7.5

Description

Creates new actions by plotting the SRT parameters that are constrained on any specified (or selected) object. Actions are created under models containing the constrained parameters and you can choose whether or not to apply the actions back to the model and then optionally delete them.

Scripting Syntax

PlotConstrainedTransformsToActions( [InputObjs], [Name], [StartFrame], [EndFrame], [StepFrame], [FCurve Kind], [DefaultSegKind], [Fit FCurve], [Fit Tolerance], [ProcessContRots], [Apply], [Paste], [Delete] )

Parameters

Parameter

Type

Description

InputObjs

String

Objects that need to be plotted.

Default Value: Current selection

Name [in/out]

String

Name for the actions

Default Value: "Action"

StartFrame [in/out]

Double

First frame to plot

Default Value: 0

EndFrame [in/out]

Double

Last frame to plot

Default Value: 0

StepFrame [in/out]

Double

Step between frames

Default Value: 1

FCurve Kind [in/out]

Integer

What kind of fcurve do we want to plot to?

Default Value: 20

Possible Values:

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 [in/out]

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:

1: CONSTANT

2: LINEAR

3: CUBIC

Fit FCurve [in/out]

Boolean

Do we want to fit an fcurve through the plotted values?

Default Value: False

Fit Tolerance [in/out]

Double

What tolerance do we want for the fit?

Default Value: 0.01

ProcessContRots [in/out]

Boolean

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

Default Value: True

Apply [in/out]

Boolean

Do we want to apply the actions after plotting them?

Default Value: True

Paste [in/out]

Boolean

If applying, should they be applied using paste (merging with existing fcurves on parameters)?

Default Value: False

Delete [in/out]

Boolean

After plotting and applying, do we want to delete the actions? Only valid if Apply is specified.

Default Value: False

See Also

PlotToActions

PlotAndApplyActions

StoreAction



Autodesk Softimage v7.5