pymel.core.modeling.manipOptions

manipOptions(*args, **kwargs)

Changes the global manipulator parameters In query mode, return type is based on queried flag.

Flags:

Long Name / Short Name Argument Types Properties
enableSmartDuplicate / esd bool ../../../_images/create.gif ../../../_images/query.gif
  Enables Shift-Duplicate option on t/r/s manips.
enableSmartExtrude / ese bool ../../../_images/create.gif ../../../_images/query.gif
  Enables Shift-Extrude option on t/r/s manips.
forceRefresh / fr bool ../../../_images/create.gif
  Force a refresh if there is any deferred evaluation.
handleSize / hs float ../../../_images/create.gif ../../../_images/query.gif
  Sets the maximum handles size in pixels, for small handles
hideManipOnCtrl / hmc bool ../../../_images/create.gif ../../../_images/query.gif
  Hide transform manip when the Ctrl key is pressed.
hideManipOnShift / hms bool ../../../_images/create.gif ../../../_images/query.gif
  Hide transform manip when the Shift key is pressed.
hideManipOnShiftCtrl / hsc bool ../../../_images/create.gif ../../../_images/query.gif
  Hide transform manip when the Shift and Ctrl keys are both pressed.
linePick / lp float ../../../_images/create.gif ../../../_images/query.gif
  Set the width of picking zone for long handles
lineSize / ls float ../../../_images/create.gif ../../../_images/query.gif
  Set the width of long handles (drawn as lines)
middleMouseRepositioning / mm bool ../../../_images/create.gif ../../../_images/query.gif
  Specify if the middle mouse should reposition
pivotRotateHandleOffset / pro int ../../../_images/create.gif ../../../_images/query.gif
  Set the offset of the pivot rotation handle.
planeHandleOffset / pho int ../../../_images/create.gif ../../../_images/query.gif
  Set the offset of the planar drag handles.
pointSize / ps float ../../../_images/create.gif ../../../_images/query.gif
  Set the size of points (used to display previous states)
preselectHighlight / psh bool ../../../_images/create.gif ../../../_images/query.gif
  Set whether manip handles should be highlighted when moving mouse.
refreshMode / rm int ../../../_images/create.gif ../../../_images/query.gif
  Set the global refresh mode.
relative / r bool ../../../_images/create.gif
  All values are interpreted as multiplication factors instead of final values.
rememberActiveHandle / rah bool ../../../_images/create.gif ../../../_images/query.gif
  Set whether manip handles should be remembered after selection change.
rememberActiveHandleAfterToolSwitch / rhs bool ../../../_images/create.gif ../../../_images/query.gif
  Set whether manip handles should be remembered after manipulator change.
scale / s float ../../../_images/create.gif ../../../_images/query.gif
  Global scaling factor of all manipulators
showExtrudeSliders / ses bool ../../../_images/create.gif ../../../_images/query.gif
  Specify if the extrude sliders are to be shown on the manip
showPivotRotateHandle / spr bool ../../../_images/create.gif ../../../_images/query.gif
  Toggles the visibility of the pivot rotation handle.
showPlaneHandles / sph bool ../../../_images/create.gif ../../../_images/query.gif
  Toggles the visibility of the planar drag handles.
smartDuplicateType / sdt int ../../../_images/create.gif ../../../_images/query.gif
  Change Shift-Duplicate or Shift-Extrude between Copy and Instance on t/r/s manips. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.manipOptions

Example:

import pymel.core as pm

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

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