移動先: 概要 戻り値 フラグ. MEL 例.

概要

extendCurve [-caching boolean] [-constructionHistory boolean] [-curveOnSurface boolean] [-distance linear] [-extendMethod int] [-extensionType int] [-inputPoint float float float] [-join boolean] [-name string] [-nodeState int] [-object boolean] [-pointX linear] [-pointY linear] [-pointZ linear] [-range boolean] [-removeMultipleKnots boolean] [-replaceOriginal boolean] [-start int] object

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

このコマンドはカーブを延長するか、または延長として新しいカーブを作成します。

戻り値

string[]オブジェクト名とノード名

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

フラグ

caching, constructionHistory, curveOnSurface, distance, extendMethod, extensionType, inputPoint, join, name, nodeState, object, pointX, pointY, pointZ, range, removeMultipleKnots, replaceOriginal, start
ロング ネーム(ショート ネーム) 引数型 プロパティ
-inputPoint(-ip) float float float createqueryedit
延長先のポイントです(オプション)。
-pointX(-px) linear createqueryedit
延長先のポイントの X 値。
デフォルト: 0
-pointY(-py) linear createqueryedit
延長先のポイントの Y 値。
デフォルト: 0
-pointZ(-pz) linear createqueryedit
延長先のポイントの Z 値。
デフォルト: 0
-extensionType(-et) int createqueryedit
延長のタイプ: 0 - リニア、1 - 円形、2 - 補外
デフォルト: 0
-extendMethod(-em) int createqueryedit
延長の方法: 0 - 距離に基づく 2 - 3D ポイントに向かう
デフォルト: 0
-start(-s) int createqueryedit
延長するカーブの端: 0 - 終了、1 - 開始、2 - 両方
デフォルト: 1
-join(-jn) boolean createqueryedit
true の場合、延長をオリジナル カーブに結合します。
デフォルト: true
-distance(-d) linear createqueryedit
延長する距離です。 extendMethod が byDistance の場合のみ使用されます。
デフォルト: 1
-removeMultipleKnots(-rmk) boolean createqueryedit
true の場合、接合部分の多重ノットを削除します。 接合が true の場合のみ使用されます。
デフォルト: false
高度なフラグ
-caching(-cch) boolean createqueryedit
ノード キャッシング モードを修正します。詳細については、ノードの説明を参照してください。
: 上級ユーザ向けの機能です。
-nodeState(-nds) int createqueryedit
ノード状態を修正します。詳細については、ノードの説明を参照してください。
: 上級ユーザ向けの機能です。
一般的なフラグ
-name(-n) string create
作成されたオブジェクトに名前を付けます。
-constructionHistory(-ch) boolean create
コンストラクション ヒストリをオンまたはオフにします。
-object(-o) boolean create
結果のオブジェクト、またはディペンデンシー ノードのみを作成します。
-replaceOriginal(-rpo) boolean create
「同じ位置」に作成(つまり置き換え)します。
-curveOnSurface(-cos) boolean create
可能な場合は、2D カーブが作成されます。
-range(-rn) boolean create
カーブの範囲を入力カーブ全体に強制します。

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

MEL 例

// to extend the start of a curve with a line of distance 3
extendCurve -em 0 -et 0 -s true -d 3.0;

// to extend the end of a curve to a point
extendCurve -em 2 -s false -ip 1 2 3;