移動先: 概要 戻り値 関連項目 フラグ MEL の例

概要

polyCloseBorder [-caching boolean] [-constructionHistory boolean] [-name string] [-nodeState int]

polyCloseBorder は「元に戻す」が可能、「照会」が可能、「編集」が可能です。

オブジェクトの開いた境界を閉じます。それぞれの境界エッジでは、フェースが作成され、エッジが存在する穴を埋めます。

戻り値

stringノード名

戻り値の型は照会モードでは照会フラグが基になります。

関連項目

polyCollapseEdge, polyCollapseFacet, polyDelEdge, polyDelFacet, polyDelVertex, polyMergeEdge, polyMergeFacet, polyMergeVertex, polyQuad, polyReduce, polySewEdge

フラグ

caching, constructionHistory, name, nodeState
ロング ネーム(ショート ネーム) 引数型 プロパティ
一般的なフラグ
-name(-n) string create
作成されるノードに名前をつけます。
-constructionHistory(-ch) boolean createquery
コンストラクション ヒストリをオンまたはオフにします(適切な場合)。コンストラクション ヒストリがオンの場合、対応するノードがメッシュのヒストリ チェーンに挿入されます。コンストラクション ヒストリがオフの場合、 操作オブジェクト上に直接行われます。
注: コンストラクション ヒストリがすでにオブジェクトにある場合は、 このフラグは無視され、ノードは必ずヒストリ チェーンに挿入されます。
-caching(-cch) boolean createedit
すべてのアトリビュートのキャッシングを切り替えることで、再計算を不要にします。
-nodeState(-nds) int
ノードの評価方法を定義します。
  • 0: Normal
  • 1: PassThrough
  • 2: Blocking
  • 3: 内部的に無効。有効にすると、Normal の状態に戻ります。
  • 4: 内部的に無効。有効にすると、PassThrough 状態に戻ります。
  • 5: 内部的に無効。有効にすると、Blocking 状態に戻ります。

: コマンドの作成モードで使用可能なフラグ : コマンドの編集モードで使用可能なフラグ
: コマンドの照会モードで使用可能なフラグ : 1 つのコマンドで複数回使用可能なフラグ

MEL の例

// Creation of a plane.
polyPlane -n plg -sx 10 -sy 10 -h 20 -w 20;

// Display the poly Borders
polyOptions -db true;

// Delete some facets of the plane.
delete plg.f[33:36] plg.f[43:46] plg.f[53:56] plg.f[63:66];

// Close the border on one of the edges of the hole
// Note that only one edge for each hole needs to be given
select -r plg.e[89];
polyCloseBorder;
// There is now a face where the hole was

//Reset display
polyOptions -db false;