This command can be used to create, edit, or query a rotate context for the UV Texture Editor. Note that the above flag controls the global behaviour of all texture editor rotate contexts. Changing one context independently is not allowed. Changing a context’s behaviour using the above flag, will change all existing texture editor rotate contexts.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
exists (ex) | bool | ||
image1 (i1) | unicode | ||
image2 (i2) | unicode | ||
image3 (i3) | unicode | ||
position (p) | bool | ||
|
|||
snap (s) | bool | ||
snapRelative (sr) | bool | ||
snapValue (sv) | float | ||
Derived from mel command maya.cmds.texRotateContext
Example:
import pymel.core as pm
import maya.cmds as cmds
# To create a new rotate context:
pm.texRotateContext()
# Result: u'texRotateContext1' #
# To query the position of the manipulator
pm.texRotateContext( 'texRotateContext', q=True, position=True )
# Result: [] #