ジャンプ先: 概要. 戻り値. キーワード. 関連. フラグ. Python 例.
changeSubdivComponentDisplayLevel([level=int], [relative=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
changeSubdivComponentDisplayLevel は、取り消し可能、照会可能、および編集不可能です。
サブディビジョン サーフェスのコンポーネントを、明示的、強制的に特定の詳細レベルで表示します。| int | コマンドの結果 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
level(l)
|
int
|
|
||
|
||||
relative(r)
|
boolean
|
|
||
|
||||
import maya.cmds as cmds # change the selected subdivision surface to display level 4 components cmds.changeSubdivComponentDisplayLevel( l=4 ) # increase the display level of the selected subivision surface by 1 cmds.changeSubdivComponentDisplayLevel( l=1, r=True )