This class creates a context for the View Tools “track”, “dolly”, and “box zoom” in the texture window.
| Long name (short name) | Argument Types | Properties | |
|---|---|---|---|
| alternateContext (ac) | bool | ||
| boxzoom (bz) | bool |
|
|
|
|||
| dolly (do) | bool |
|
|
|
|||
| exists (ex) | bool | ||
| history (ch) | bool | ||
| image1 (i1) | unicode | ||
| image2 (i2) | unicode | ||
| image3 (i3) | unicode | ||
| name (n) | unicode | ||
| toolName (tn) | unicode | ||
| track (tr) | bool |
|
|
|
|||
Derived from mel command maya.cmds.texWinToolCtx
Example:
import pymel.core as pm
import maya.cmds as cmds
# 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')