ActivateFCurve

Description

Activates or deactivates an entire curve or just a region of the curve.

ActivateFCurve is the command equivalent of the same functionality available in the DopeSheet. It should be used when trying to emulate the DopeSheet behavior.

Scripting Syntax

ActivateFCurve( [InputObjs], Activate, [StartFrame], [EndFrame], [Type] )

Parameters

Parameter

Type

Description

InputObjs

String

List of animatable parameters (for example "cone*/kine.local.pos"). This parameter uses the Type parameter to interpret which parameters to use in this way:

- If Type == siInputParameters then InputObjs is used exactly as input (either from the specified list or the animatable parameters on the selected objects).

- If Type == siAnimatedParameters then InputObjs is expected to be a list of objects on which each animatable parameter will be affected.

- If Type == siAllAnimatedParameters then the value of InputObjs is ignored and instead the command uses all animated parameters on all objects in the entire scene.

Default Value:

If no value is specified for this parameter, the Object List will use the selected

objects or parameters respecting the scope indicated by the Type argument.

Activate

Boolean

Activate or Deactivate the entire curve or the input range.

Possible Values:

0: False

1: True

StartFrame

Double

Start frame of the region of the fcurve(s) you want to operate.

Leave both Start and End blank for entire curve.

Value range -Inf, +Inf

EndFrame

Double

End frame of the region of the fcurve(s) you want to operate.

Leave both Start and End blank for entire curve.

Value range -Inf, +Inf

Type

siParameterScope

Parameter scope of the operation

Default Value: siInputParameters

See Also

FCurve

Sequence

ScaleAndOffset

Examples

• See ActivateFCurve.1.vbs



Autodesk Softimage 2011