This command can be used to create, edit, or query a texture editor move manip context. Note that the above flags control the global behaviour of all texture editor move manip contexts. Changing one context independently is not allowed. Changing a context’s behaviour using the above flags, will change all existing texture editor move manip contexts.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
exists (ex) | bool | ||
image1 (i1) | unicode | ||
image2 (i2) | unicode | ||
image3 (i3) | unicode | ||
position (p) | bool | ||
|
Value can be : true or false. If true, while snapping a group of UVs, the relative spacing between them will be preserved. If false, all the UVs will be snapped to the target point |
|||
snapPixelMode (spm) | int | ||
set the snapping mode to be the pixel center or upper left cornerFlag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.texMoveContext
Example:
import pymel.core as pm
import maya.cmds as cmds
# To create a new move context:
pm.texMoveContext()
# Result: u'texMoveContext1' #
# To query the position of the manipulator
pm.texMoveContext( 'texMoveContext', q=True, position=True )
# Result: [] #