Go to: Synopsis. Return value. Flags. MEL examples.
setXformManip [-showUnits boolean] [-suppress boolean] [-useRotatePivot boolean] [-worldSpace boolean]
setXformManip is undoable, queryable, and NOT editable.
This command changes some of the settings of the xform manip,
to control its appearance.
None
In query mode, return type is based on queried flag.
showUnits, suppress, useRotatePivot, worldSpace
Long name (short name) |
Argument types |
Properties |
|
-showUnits(-su)
|
boolean
|
|
|
If set to true, the xform manip displays current units;
otherwise, the manip hides them.
|
|
-suppress(-s)
|
boolean
|
|
|
If set to true, the xform manip is suppressed and therefore
not visible or usable.
|
|
-useRotatePivot(-urp)
|
boolean
|
|
|
If set to true, the xform manip uses the rotate pivot;
otherwise, the manip uses the bounding-box center. Defaults false.
|
|
-worldSpace(-ws)
|
boolean
|
|
|
If set to true, the xform manip is always in world space.
If false, the manip is in object space. (Note: when multiple
objects are selected the manip is always in world space, no
matter what this is set to)
|
|
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.
|
setXformManip -suppress true; // makes manip disappear
setXformManip -worldSpace false; // makes manip object-space
setXformManip -q -ws; // returns false