This command can be used to create a show manip context. The show manip context will display manips for all selected objects that have valid manips defined for them.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
currentNodeName (cnn) | bool | ||
Returns the name of the first node that the context is attached to.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
exists (ex) | bool | ||
history (ch) | bool | ||
image1 (i1) | unicode | ||
image2 (i2) | unicode | ||
image3 (i3) | unicode | ||
incSnap (incSnap) | int, bool | ||
|
|||
incSnapRelative (isr) | int, bool | ||
|
|||
incSnapUI (isu) | bool | ||
Returns an array of elements indicating what kind of incremental snap UI is required by the manipulator owned by the context. If no UI is required, the result array will contain a single element of with the value 0. The other values and their meanings are: 1 - UI for linear incremental translate2 - UI for incremental rotate3 - UI for inclremental scale |
|||
incSnapValue (isv) | int, float | ||
|
|||
lockSelection (ls) | bool | ||
|
|||
name (n) | unicode | ||
toggleIncSnap (tis) | bool | ||
|
|||
toolFinish (tf) | script | ||
|
|||
toolStart (ts) | script | ||
|
Derived from mel command maya.cmds.showManipCtx
Example:
import pymel.core as pm
import maya.cmds as cmds
# Creates a new show manip context.
pm.showManipCtx()
# Result: u'showManipCtx1' #