Go to: Synopsis. Return value. Flags. Python examples.
manipOptions([enableSmartDuplicate=boolean], [enableSmartExtrude=boolean], [forceRefresh=boolean], [handleSize=float], [hideManipOnCtrl=boolean], [hideManipOnShift=boolean], [hideManipOnShiftCtrl=boolean], [linePick=float], [lineSize=float], [middleMouseRepositioning=boolean], [pivotRotateHandleOffset=int], [planeHandleOffset=int], [pointSize=float], [preselectHighlight=boolean], [refreshMode=int], [relative=boolean], [rememberActiveHandle=boolean], [rememberActiveHandleAfterToolSwitch=boolean], [scale=float], [showExtrudeSliders=boolean], [showPivotRotateHandle=boolean], [showPlaneHandles=boolean], [smartDuplicateType=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 | ||
---|---|---|---|---|
enableSmartDuplicate(esd)
|
boolean
|
|||
|
||||
enableSmartExtrude(ese)
|
boolean
|
|||
|
||||
forceRefresh(fr)
|
boolean
|
|||
|
||||
handleSize(hs)
|
float
|
|||
|
||||
hideManipOnCtrl(hmc)
|
boolean
|
|||
|
||||
hideManipOnShift(hms)
|
boolean
|
|||
|
||||
hideManipOnShiftCtrl(hsc)
|
boolean
|
|||
|
||||
linePick(lp)
|
float
|
|||
|
||||
lineSize(ls)
|
float
|
|||
|
||||
middleMouseRepositioning(mm)
|
boolean
|
|||
|
||||
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
|
|||
|
||||
showExtrudeSliders(ses)
|
boolean
|
|||
|
||||
showPivotRotateHandle(spr)
|
boolean
|
|||
|
||||
showPlaneHandles(sph)
|
boolean
|
|||
|
||||
smartDuplicateType(sdt)
|
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 )