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
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
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  
   
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.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

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  
   
scale (s) float ../../../_images/create.gif ../../../_images/query.gif
 
Global scaling factor of all manipulators
showExtrudeSliders (ses) bool  
   

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 )