ジャンプ先: 概要. 戻り値. フラグ. Python 例.
polySelectEditCtx([mode=int])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
polySelectEditCtx は、取り消し可能、照会可能、および編集可能です。
コンテキストを新規作成し、ポリゴン オブジェクトを選択して編集します。| string | コンテキスト名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
mode(m)
|
int
|
|
||
|
||||
import maya.cmds as cmds
# Create a poly plane
cmds.polyPlane(w=10, h=10, sx=5, sy=5, n='pPlane1')
# Create a new poly select and edit context, then switch to it
cmds.polySelectEditCtx('polySelectEditCtx1')
cmds.setToolTo('polySelectEditCtx1')