ActivateFCurveOnMarkedKeyable

Introduced

v5.0

Description

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

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

Note: This command is very similiar to ActivateFCurveOnKeyable with the only difference being the input objects and the list of parameters on which the FCurve Activation/Deactivation is done.

Scripting Syntax

ActivateFCurveOnMarkedKeyable( [InputObjs], Activate, [StartFrame], [EndFrame] );

Parameters

Parameter Type Description
InputObjs String Object name (anything selectable)

Default Value: Currently selected objects

Activate Boolean True to activate the entire curve or the input range.

Default Value: 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.

Possible Values:

Description:

-Inf < 0 > +Inf 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.

Possible Values:

Description:

-Inf < 0 > +Inf Value range -Inf, +Inf

See Also

FCurve ActivateFCurve ActivateFCurveOnKeyable