GetConstraint2 (FCurveKey)

Introduced

6.0

Description

Returns the specified fcurve key constraint (see siFCurveKeyConstraint for a list of possible values). The siFCurveKeyConstraint values are of type Long.

Note: This is the Python-compliant version of the FCurveKey.Constraint. Since Python does not support input parameters on properties, FCurveKey.Constraint will fail in Python.

Scripting Syntax

    FCurveKey.GetConstraint2( Constraint )

C# Syntax

    Boolean FCurveKey.GetConstraint2( siFCurveKeyConstraint in_eConstraint );

Parameters

Parameter | Type | Description
Constraint | siFCurveKeyConstraint | The type of fcurve key constraint to set or return. You can add these values together to specify several constraints at once. For example, use siParameterConstraint + siSameLengthTangentConstraint to lock all parameters and force left and right tangent lengths to be the same.

Return Value

Boolean value indicating whether or not the specified constraint is set.

See Also

FCurveKey.Constraint

Autodesk Softimage v7.5