pymel.core.context.texWinToolCtx

texWinToolCtx(*args, **kwargs)

This class creates a context for the View Tools track, dolly, and box zoomin the texture window.

Flags:
Long name (short name) Argument Types Properties
alternateContext (ac) bool  
   
boxzoom (bz) bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Perform Box Zoom Flag can have multiple arguments, passed either as a tuple or a list.
dolly (do) bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Dollies the view
exists (ex) bool  
   
history (ch) bool  
   
image1 (i1) unicode  
   
image2 (i2) unicode  
   
image3 (i3) unicode  
   
name (n) unicode  
   
toolName (tn) unicode  
   
track (tr) bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Tracks the view

Derived from mel command maya.cmds.texWinToolCtx

Example:

import pymel.core as pm

# Create a new texture window tool context, set this tool to dolly in the texture window, then switch to it
pm.texWinToolCtx('texWinToolCtx1', do=True)
# Result: u'texWinToolCtx1' #
pm.setToolTo('texWinToolCtx1')

Previous topic

pymel.core.context.texSmudgeUVContext

Next topic

pymel.core.context.textureLassoContext

Core

Core Modules

Other Modules

This Page