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 | ![]() |
|
|
|||
ignore / i | int | ![]() |
|
|
|||
quiet / q | bool | ![]() |
|
|
|||
relative / r | bool | ![]() |
|
|
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)
pm.setToolTo('manipMoveContext1')
# Set the active handle value to 10.(Translate the pSphere1 by (10, 0, 0))
pm.scmh(10, r=True)