pymel.core.windows.scmh

static windows.scmh(*args, **kwargs)

Set the current manipulator handle value(s). In UI units (where applicable), though the syntax is set to handle the unit type of the current manipulator handle (if available).

Flags:
Long name (short name) Argument Types Properties
absolute (a) bool ../../../_images/create.gif
 
The values are absolute
ignore (i) int ../../../_images/create.gif
 
This is a multiuse flag which specifies that the index-th (1-based) entry is to be ignored
quiet (q) bool ../../../_images/create.gif
 
This flag suppresses all error messages Flag can have multiple arguments, passed either as a tuple or a list.
relative (r) bool ../../../_images/create.gif
 
The values are relative

Derived from mel command maya.cmds.scmh

Example:

import pymel.core as pm

# Create a new move manip context, set the active handle to X axis handle, then swith to it
pm.manipMoveContext('manipMoveContext1', ah=0)
# Result: u'manipMoveContext1' #
pm.setToolTo('manipMoveContext1')

# Set the active handle value to 10.(Translate the pSphere1 by (10, 0, 0))
pm.scmh(10, r=True)

Previous topic

pymel.core.windows.saveShelf

Next topic

pymel.core.windows.scriptEditorInfo

Core

Core Modules

Other Modules

This Page