SetCurveType

Description

Sets the fcurve interpolation type.

Scripting Syntax

SetCurveType( [InputObjs], Interpolation )

Parameters

Parameter

Type

Description

InputObjs

String

List of animatable parameters (for example "cone*/kine.local.pos").

Default Value: Currently selected and marked parameters

Interpolation

Integer

Interpolation type for animation source

Possible Values:

0: Default (no change)

1: Constant

2: Linear

3: Bezier

Examples

VBScript Example

GetPrim "Null"
SetMarking "kine.global.Pos"
AddFCurve
SetCurveType , 1 ' set curve interpolation type to constant

See Also

FCurve

AddFCurve

RemoveAnimation

RemoveAllAnimation

SetCurveType

 

 

 



Autodesk Softimage v7.5