ジャンプ先: 概要. 戻り値. フラグ. MEL 例.

概要

curveEPCtx [-bezier boolean] [-degree uint] [-exists] [-history boolean] [-image1 string] [-image2 string] [-image3 string] [-name string] [-preserveShape] [-preserveShapeFraction float] [-refit] [-uniform boolean]

curveEPCtx は、取り消し可能、照会可能、および編集可能です。

curveEPCtx コマンドを使用すると、エディット ポイントを配置してカーブを作成する新しいコンテキストを作成できます。

戻り値

string(新しいコンテキストの名前)

照会モードでは、戻り値のタイプは照会されたフラグに基づきます。

フラグ

bezier, degree, exists, history, image1, image2, image3, name, preserveShape, preserveShapeFraction, refit, uniform
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
-bezier(-bez) boolean createqueryedit
ベジェ カーブを使用する
-degree(-d) uint createqueryedit
Curve degree
-exists(-ex) create
指定したオブジェクトが存在するかどうかによって、true または false を返します。他のフラグは無視されます。
-history(-ch) boolean create
ツール コマンドの場合、対象となるツールのコンストラクション ヒストリをオンにします。
-image1(-i1) string createqueryedit
コンテキストに関連付けられているツールを表す 3 つの可能なアイコンの中の最初のアイコンです。
-image2(-i2) string createqueryedit
コンテキストに関連付けられているツールを表す 3 つの可能なアイコンの中の 2 番目のアイコンです。
-image3(-i3) string createqueryedit
コンテキストに関連付けられているツールを表す 3 つの可能なアイコンの中の 3 番目のアイコンです。
-name(-n) string create
これがツール コマンドの場合、ツールに適切に名前を付けます。
-preserveShape(-ps) createqueryedit
操作がシェイプを保持するようにするには、このフラグを設定します。
-preserveShapeFraction(-pf) float createqueryedit
シェイプを保持するときに使用される分数値です。
-refit(-rf) createqueryedit
カーブに再フィットさせるには、このフラグを設定します。
-uniform(-un) boolean createqueryedit
カーブに均一パラメータ配置を使用する必要がありますか?

フラグはコマンドの作成モードで表示できます フラグはコマンドの編集モードで表示できます
フラグはコマンドの照会モードで表示できます コマンド内でフラグを複数回使用できます。

MEL 例

// To create a new context that will create curves of degree 5:
curveEPCtx -degree 5;

// To query the degree of an existing context:
curveEPCtx -q -degree curveContextEP1;

// To edit the degree of an existing context:
curveEPCtx -e -degree 7 curveContextEP1;