ジャンプ先: 概要. 戻り値. フラグ. Python 例.
texWinToolCtx([alternateContext=boolean], [boxzoom=boolean], [dolly=boolean], [exists=boolean], [history=boolean], [image1=string], [image2=string], [image3=string], [name=string], [toolName=string], [track=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
texWinToolCtx は、取り消し可能、照会可能、および編集可能です。
このクラスは、ビュー ツール(View Tool)の「track」、「dolly」、「box zoom」のコンテキストをテクスチャ ウィンドウに作成します。| string | コンテキスト名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
alternateContext(ac)
|
boolean
|
|
||
|
||||
boxzoom(bz)
|
boolean
|
|
||
|
||||
dolly(do)
|
boolean
|
|
||
|
||||
exists(ex)
|
boolean
|
|
||
|
||||
history(ch)
|
boolean
|
|
||
|
||||
image1(i1)
|
string
|
|
||
|
||||
image2(i2)
|
string
|
|
||
|
||||
image3(i3)
|
string
|
|
||
|
||||
name(n)
|
string
|
|
||
|
||||
toolName(tn)
|
string
|
|
||
|
||||
track(tr)
|
boolean
|
|
||
|
||||
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
cmds.texWinToolCtx('texWinToolCtx1', do=True)
cmds.setToolTo('texWinToolCtx1')