Vicon Shogun banner

Description

Copies data from one object's named output to a named input on one or more different objects.

copyData is a one-time operation that copies the transformation data in the outputs of a source object and writes it to the inputs of one more target object for the entire animation range. When using copyData, the target node will have curves that may be edited.

Functional area

Data editing

Command syntax

Syntax

copyData module1.outputName module2.inputName1 ...

Arguments

NameTypeRequiredComments
module1.outputNamestringyesTarget node(s) and output channel
module2.inputName1stringyesSource node and input channel
More target.channel pairsstringnoAdditional targets for the copy operation can be specified

Flags

None

Return value

void

Examples

// This command copies the translation from a marker called "STRN" to 
// another scene object called "Prop1".
copyData "STRN.Translation" "Prop1.Translation";

// This command copies the translation from a marker called "STRN" to
// 2 other scene objects called "Prop2" and "Prop3".
copyData "STRN.Translation" "Prop2.Translation" "Prop3.Translation";

Additional information

Related commands