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 | ![]() ![]() ![]() |
|
|
|||
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
# 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')