移動先: 概要 戻り値 フラグ. Python 例.
polyMergeFacetCtx([activeNodes=boolean], [exists=boolean], [image1=string], [image2=string], [image3=string], [immediate=boolean], [mergeMode=int], [name=string], [previous=boolean], [reset=boolean], [toolNode=boolean])
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
polyMergeFacetCtx は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
新しいコンテキストを作成し、ポリゴン オブジェクトでファセットをマージします。
なし
戻り値の型は照会モードでは照会フラグが基になります。
activeNodes, exists, image1, image2, image3, immediate, mergeMode, name, previous, reset, toolNode
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: タプルまたはリストとして渡された複数の引数を持てるフラグ
|
import maya.cmds as cmds
# Create a poly plane
cmds.polyPlane(w=10, h=10, sx=10, sy=10, n='pPlane1')
# Create a new poly merge facet context, set the merge mode to merging the second face to the first face, then switch to it
cmds.polyMergeFacetCtx('polyMergeFacetCtx1', mm=0)
cmds.setToolTo('polyMergeFacetCtx1')