Go to: Synopsis. Return value. Flags. Python examples.

Synopsis

scmh( float [float...] , [absolute=boolean], [ignore=uint], [quiet=boolean], [relative=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

scmh is undoable, NOT queryable, and NOT editable.

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).

Return value

None

Flags

absolute, ignore, quiet, relative
Long name (short name) Argument types Properties
absolute(a) boolean create
The values are absolute
ignore(i) uint createmultiuse
This is a multiuse flag which specifies that the index-th (1-based) entry is to be ignored
quiet(q) boolean create
This flag suppresses all error messages
relative(r) boolean create
The values are relative

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.

Python examples

import maya.cmds as cmds

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

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