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

概要

subdListComponentConversion [-fromEdge] [-fromFace] [-fromUV] [-fromVertex] [-internal] [-toEdge] [-toFace] [-toUV] [-toVertex] [-uvShell] [-uvShellBorder] [objects...]

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

このコマンドは、サブディビジョン サーフェス コンポーネントのタイプを 1 つまたは複数のタイプから別の 1 つまたは複数のタイプに変換し、 変換のリストを返します。現在選択しているオブジェクトは変更されません。

「-in/internal」フラグを使用して、変換の対象を「コネクトされた」コンポーネントと「含まれた」コンポーネントのどちらにするか指定します。たとえば、サブディビジョン サーフェスの頂点をフェースに変換するときに internal フラグを指定すると、頂点に完全に含まれるフェースのみを返します。internal フラグを指定しないと、 頂点にコネクトされたすべてのフェースを返します。

戻り値

string[]サブディビジョン サーフェス コンポーネントのリスト

関連項目

polyListComponentConversion

フラグ

fromEdge, fromFace, fromUV, fromVertex, internal, toEdge, toFace, toUV, toVertex, uvShell, uvShellBorder
ロング ネーム(ショート ネーム) 引数型 プロパティ
-fromVertex(-fv) create
変換前のコンポーネント タイプを 指定: 頂点
-fromEdge(-fe) create
変換前のコンポーネント タイプを 指定: エッジ
-fromUV(-fuv) create
変換前のコンポーネント タイプを 指定: UV
-fromFace(-ff) create
変換前のコンポーネント タイプを 指定: フェース
-toVertex(-tv) create
変換後のコンポーネント タイプを 指定: 頂点
-toEdge(-te) create
変換後のコンポーネント タイプを 指定: エッジ
-toUV(-tuv) create
変換後のコンポーネント タイプを 指定: UV
-toFace(-tf) create
変換後のコンポーネント タイプを 指定: フェース
-uvShell(-uvs) create
同じ UV シェル内にある UV コンポーネントのみを返します。フラグ -tuv および -fuv と併用する場合のみ有効です。
-uvShellBorder(-uvb) create
同じ UV シェル内の境界線上にある UV コンポーネントのみを返します。フラグ -tuv および -fuv と併用する場合のみ有効です。
-internal(-in) create
「より小さな」コンポーネント タイプを より大きなものに変換するときに使用可能です。 変換の対象を「コネクトされた」コンポーネントと 「含まれた」コンポーネントのどちらにするか指定します。下記の例を参照してください。

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

MEL 例

subdListComponentConversion -fv -tf subdShape.smp[5][6] subdShape.smp[9][10];
// Returns a list of faces that are connected to the given vertices.

subdListComponentConversion -tf subdShape.sme[0][0] subdShape.smp[3][0] subdShape.smp[8][0];
// Returns a list of faces that are connected to the given components.

subdListComponentConversion -fv -tf -in subdShape.smp[5][9];
// Returns a list of only those faces that are completely contained
// by the given vertices.

select -r subdShape.smp[0][0] subdShape.smp[3][0] subdShape.smp[8][0];
subdListComponentConversion -fv -tf;
// Returns the conversion of selected vertices to faces.

subdListComponentConversion -fuv -tuv -uvs subdShape.smm[3];
// Returns a list of all uv map components in the
// same UV shell (contiguous region in texture space).
// (You can view these regions in the UV Texture Editor.)

subdListComponentConversion -fuv -tuv -uvb subdShape.smm[3];
// Returns a list of the uv map components on the border of the
// same UV shell (contiguous region in texture space).  (You can
// view these regions in the UV Texture Editor.)