Go to: Synopsis. Return value. Flags. Python examples.
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 parametersNone
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
forceRefresh(fr)
|
boolean
|
|||
|
||||
handleSize(hs)
|
float
|
|||
|
||||
hideManipOnCtrl(hmc)
|
boolean
|
|||
|
||||
hideManipOnShift(hms)
|
boolean
|
|||
|
||||
hideManipOnShiftCtrl(hsc)
|
boolean
|
|||
|
||||
linePick(lp)
|
float
|
|||
|
||||
lineSize(ls)
|
float
|
|||
|
||||
pivotRotateHandleOffset(pro)
|
int
|
|||
|
||||
planeHandleOffset(pho)
|
int
|
|||
|
||||
pointSize(ps)
|
float
|
|||
|
||||
preselectHighlight(psh)
|
boolean
|
|||
|
||||
refreshMode(rm)
|
int
|
|||
|
||||
relative(r)
|
boolean
|
|||
|
||||
rememberActiveHandle(rah)
|
boolean
|
|||
|
||||
rememberActiveHandleAfterToolSwitch(rhs)
|
boolean
|
|||
|
||||
scale(s)
|
float
|
|||
|
||||
showPivotRotateHandle(spr)
|
int
|
|||
|
||||
showPlaneHandles(sph)
|
int
|
|||
|
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. |
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 )