pymel.core.context.showManipCtx

showManipCtx(*args, **kwargs)

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.

Flags:

Long Name / Short Name Argument Types Properties
currentNodeName / cnn bool ../../../_images/query.gif
  Returns the name of the first node that the context is attached to.
exists / ex bool ../../../_images/create.gif
  Returns true or false depending upon whether the specified object exists. Other flags are ignored.
history / ch bool ../../../_images/create.gif
  If this is a tool command, turn the construction history on for the tool in question.
image1 / i1 unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  First of three possible icons representing the tool associated with the context.
image2 / i2 unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Second of three possible icons representing the tool associated with the context.
image3 / i3 unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Third of three possible icons representing the tool associated with the context.
incSnap / incSnap int, bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  If true, the manipulator owned by the context will use incremental snapping for specified mode.
incSnapRelative / isr int, bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  If true, the manipulator owned by the context will use relative incremental snapping for specified mode.
incSnapUI / isu bool ../../../_images/query.gif
  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 ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Supply the step value which the manipulator owned by the context will use for specified mode.
lockSelection / ls bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  If true, this context will never change the current selection. By default this is set to false.
name / n unicode ../../../_images/create.gif
  If this is a tool command, name the tool appropriately.
toggleIncSnap / tis bool ../../../_images/create.gif ../../../_images/edit.gif
  Toggles (enables/disables) snapping for all modes.
toolFinish / tf script ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Supply the script that will be run when the user exits the script.
toolStart / ts script ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Supply the script that will be run when the user first enters the script Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.showManipCtx

Example:

import pymel.core as pm

# Creates a new show manip context.
pm.showManipCtx()
# Result: u'showManipCtx1' #