移動先: 概要 戻り値 フラグ. MEL 例.
reverseCurve [-caching boolean] [-constructionHistory boolean] [-curveOnSurface boolean] [-name string] [-nodeState int] [-object boolean] [-range boolean] [-replaceOriginal boolean]
curve
reverseCurve は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
カーブまたはカーブオン サーフェスの方向を反転します。新しく反転したカーブのパス名、および
生成されたディペンデンシー ノードの名前を含む文字列が返されます。反転したカーブのパラメータ範囲は、元のカーブと同じです。
戻り値の型は照会モードでは照会フラグが基になります。
caching, constructionHistory, curveOnSurface, name, nodeState, object, range, replaceOriginal
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: 1 つのコマンドで複数回使用可能なフラグ
|
reverseCurve -constructionHistory on curve1;
// Reverses curve1 with construction history on. The result will
// be a string array, where the first string is the name of the new
// reversed curve and the second string is the name of the new
// dependency node.
reverseCurve -ch off -replaceOriginal on curve1;
// Reverses curve1 without construction history, replacing the original.
// The result will be a string array, where the first string
// is the name of the curve (curve1). Because history is off,
// no dependency node will be created. The reversed curve will
// replace the original curve.
reverseCurve -ch on -rpo on curve1;
// Reverses curve1 with history, trying to replace the original.
// If curve1 was not a result of construction history, then this command
// will simply replace curve1 with the reversed curve. No dependency
// node will be created.
// If curve1 was a result of construction history, then this command
// will insert a reverse dependency node before the curve. eg.
// Before reverseCurve cmd: curve0 ---> closeCurve DN ---> curve1
// After cmd: curve0 ---> closeCurve DN ---> reverseCurve DN ---> curve1
// The result will be a string array , where the first string
// is the name of the curve (curve1) and the second name is the
// new dependency node.