/
copyData
copyData
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
Name | Type | Required | Comments |
---|---|---|---|
module1.outputName | string | yes | Target node(s) and output channel |
module2.inputName1 | string | yes | Source node and input channel |
More target.channel pairs | string | no | Additional 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
, multiple selections available,
Related content
bakeData
bakeData
More like this
createKey
createKey
More like this
create
More like this
swap
More like this
selectProperty
selectProperty
More like this
setProperty
setProperty
More like this