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

Synopsis

manipOptions([forceRefresh=boolean], [handleSize=float], [hideManipOnCtrl=boolean], [hideManipOnShift=boolean], [hideManipOnShiftCtrl=boolean], [linePick=float], [lineSize=float], [pivotRotateHandleOffset=int], [planeHandleOffset=int], [pointSize=float], [preselectHighlight=boolean], [refreshMode=int], [relative=boolean], [rememberActiveHandle=boolean], [rememberActiveHandleAfterToolSwitch=boolean], [scale=float], [showPivotRotateHandle=int], [showPlaneHandles=int])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

manipOptions is undoable, queryable, and NOT editable.

Changes the global manipulator parameters

Return value

None

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

Flags

forceRefresh, handleSize, hideManipOnCtrl, hideManipOnShift, hideManipOnShiftCtrl, linePick, lineSize, pivotRotateHandleOffset, planeHandleOffset, pointSize, preselectHighlight, refreshMode, relative, rememberActiveHandle, rememberActiveHandleAfterToolSwitch, scale, showPivotRotateHandle, showPlaneHandles
Long name (short name) Argument types Properties
forceRefresh(fr) boolean create
Force a refresh if there is any deferred evaluation.
handleSize(hs) float createquery
Sets the maximum handles size in pixels, for small handles
hideManipOnCtrl(hmc) boolean createquery
Hide transform manip when the Ctrl key is pressed.
hideManipOnShift(hms) boolean createquery
Hide transform manip when the Shift key is pressed.
hideManipOnShiftCtrl(hsc) boolean createquery
Hide transform manip when the Shift and Ctrl keys are both pressed.
linePick(lp) float createquery
Set the width of picking zone for long handles
lineSize(ls) float createquery
Set the width of long handles (drawn as lines)
pivotRotateHandleOffset(pro) int createquery
Set the offset of the pivot rotation handle.
planeHandleOffset(pho) int createquery
Set the offset of the planar drag handles.
pointSize(ps) float createquery
Set the size of points (used to display previous states)
preselectHighlight(psh) boolean createquery
Set whether manip handles should be highlighted when moving mouse.
refreshMode(rm) int createquery
Set the global refresh mode.
relative(r) boolean create
All values are interpreted as multiplication factors instead of final values.
rememberActiveHandle(rah) boolean createquery
Set whether manip handles should be remembered after selection change.
rememberActiveHandleAfterToolSwitch(rhs) boolean createquery
Set whether manip handles should be remembered after manipulator change.
scale(s) float createquery
Global scaling factor of all manipulators
showPivotRotateHandle(spr) int createquery
Toggles the visibility of the pivot rotation handle.
showPlaneHandles(sph) int createquery
Toggles the visibility of the planar drag handles.

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 have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

# Scales all handles by a 1.5 factor
cmds.manipOptions( r=True, hs=1.5, ls=1.5 )

# All manips are scaled by 2
cmds.manipOptions( s=2 )