Go to: Synopsis. Return value. Flags. MEL examples.
spaceLocator [-absolute] [-name string] [-position linear linear linear] [-relative]
spaceLocator is undoable, queryable, and editable.
The command creates a locator at the specified position
in space. By default it is created at (0,0,0).
string[] | The name for the new locator in space. |
In query mode, return type is based on queried flag.
absolute, name, position, relative
Long name (short name) |
Argument types |
Properties |
|
-absolute(-a)
|
|
|
|
If set, the locator's position is in world space.
|
|
-name(-n)
|
string
|
|
|
-position(-p)
|
linear linear linear
|
|
|
Location in 3-dimensional space where locator is to be created.
|
|
-relative(-r)
|
|
|
|
If set, the locator's position is relative to its local space. The locator is created in relative mode by default.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
// Creates a space locator at (1, 1, 1).
spaceLocator -p 1 1 1;
// Creates a space locator at (1, 1, 1) in inches.
spaceLocator -p 1in 1in 1in;
// Creates a space locator at the default position (0, 0, 0).
spaceLocator;