pymel.core.context.texTweakUVContext — PyMEL 1.0.7 documentation

pymel.core.context.texTweakUVContext

texTweakUVContext(*args, **kwargs)

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.

Flags:

Long Name / Short Name Argument Types Properties
exists / ex bool  
   
image1 / i1 unicode  
   
image2 / i2 unicode  
   
image3 / i3 unicode  
   
position / p bool ../../../_images/query.gif
 
Returns the current position of the manipulator
tolerance / t bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Controls the initial selection snapping tolerance. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.texTweakUVContext

Example:

::

import pymel.core as pm

# To create a new move context: pm.texTweakUVContext() # Result: u’texTweakUVContext1’ #

# To query the position of the manipulator pm.texTweakUVContext( ‘texMoveUVShellContext’, q=True, position=True )