Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

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.

Return value

None

In query mode, return type is based on queried flag.

Flags

showUnits, suppress, useRotatePivot, worldSpace
Long name (short name) Argument types Properties
-suppress(-s) boolean query
If set to true, the xform manip is suppressed and therefore not visible or usable.
-worldSpace(-ws) boolean query
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)
-useRotatePivot(-urp) boolean query
If set to true, the xform manip uses the rotate pivot; otherwise, the manip uses the bounding-box center. Defaults false.
-showUnits(-su) boolean query
If set to true, the xform manip displays current units; otherwise, the manip hides them.

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.

MEL examples

setXformManip -suppress true;  // makes manip disappear
setXformManip -worldSpace false; // makes manip object-space
setXformManip -q -ws;  // returns false