SetRelativeValues

Description

Sets a key on a linked parameter function curve.

If A is linked with B, then there is a link function curve that animates the value of A as the value of B changes. On this function curve, the Y axis represents values of A, and the X axis represents values of B. SetRelativeValues "A" sets a key on this function curve using the current values of A and B.

Scripting Syntax

SetRelativeValues( [InputObj] )

Parameters

Parameter

Type

Description

InputObj

String

Parameter that is linked with (controlled by) another parameter.

Default Value: Currently selected and marked parameters

Examples

VBScript Example

GetPrim "Cone"
GetPrim "Null"
SetMarking "kine.global.posx"
' Link "Null.kine.global.posx" with "Cone.kine.local.posx"
AddExpr ,"Cone.kine.local.posx"
' Set a key on the linking function curve
' The X value of the key is the current value of Cone.kine.global.posx
' The Y value of the key is the current value of Null.kine.global.posx
SetRelativeValues "Null.kine.global.posx"
' Now we effectively have this:
'  Null.kine.global.posx = link_function_curve(Cone.kine.local.posx)

See Also

AddExpr

SetExpr

RemoveAnimation

Expression

Parameter

 

 

 



Autodesk Softimage v7.5