ジャンプ先: 概要. 戻り値. フラグ. Python 例.
textManip([visible=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
textManip は、取り消し可能、照会可能、および編集不可能です。
テキスト マニピュレータを表示/非表示にします。なし
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
visible(v)
|
boolean
|
|
||
|
||||
import maya.cmds as cmds
# Hide the text manip, then call headsUpMessage to draw a message in the 3d view. You can't see the message now because it's invisible
cmds.textManip(v=False)
cmds.headsUpMessage('Ouch!', time=5.0)
# Show the text manip
cmds.textManip(v=True)