ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
nurbsToSubdiv(
[surface]
, [addUnderTransform=boolean], [caching=boolean], [collapsePoles=boolean], [constructionHistory=boolean], [matchPeriodic=boolean], [maxPolyCount=int], [name=string], [nodeState=int], [object=boolean], [reverseNormal=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
nurbsToSubdiv は、取り消し可能、照会可能、および編集可能です。
NURBS サーフェスをサブディビジョン サーフェスに変換します。新しいサブディビジョン サーフェスの名前が返されます。コンストラクション ヒストリがオンの場合、新しいディペンデンシー ノードの名前も返されます。
| string[] | サブディビジョン サーフェスとオプションのディペンデンシー ノード名。 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
changeSubdivComponentDisplayLevel, changeSubdivRegion, createSubdivRegion, polyToSubdiv, querySubdiv, refineSubdivSelectionList, subdCollapse, subdToBlind, subdToPoly, subdiv, subdivCrease, subdivDisplaySmoothness
addUnderTransform, caching, collapsePoles, constructionHistory, matchPeriodic, maxPolyCount, name, nodeState, object, reverseNormal
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。
|
import maya.cmds as cmds
# To create a new subd surface from a NURBS surface:
cmds.nurbsToSubdiv( 'nurbsSphere1' )
# To create a new subd surface from a NURBS surface with history so that
# the tesselation can be edited afterwards:
cmds.nurbsToSubdiv( 'nurbsSphere1', ch=True )