/
setPosition
setPosition
Description
Use setPosition to set the translation of a module in relative or world space coordinates.
setPosition modifies the keys of the current frame. If no animation data exists when setPosition is run, it creates a key.
Functional area
Data manipulators
Command syntax
Syntax
setPosition "moduleName" posVec [-ws] [-preTrans] [-default] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
posVec | The vector data to apply | ||
moduleName | Name of the module you want to modify |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
ws | 0 | — | — | PosVector data is applied in world space coordinates |
preTrans | 0 | — | default | — |
default | 0 | — | preTrans | — |
Return value
void
Examples
//Create a marker and set its position create Marker "marker1"; setPosition marker1 <<100, 0, 0>>;
Additional information
Related commands
, multiple selections available,
Related content
setRotation
setRotation
More like this
setRotation
setRotation
More like this
setScale
setScale
More like this
createKey
createKey
More like this
setProperty
setProperty
More like this
zeroKey
zeroKey
More like this