ジャンプ先: 概要. 戻り値. フラグ. MEL 例.
curveMoveEPCtx [-exists] [-image1 string] [-image2 string] [-image3 string]
curveMoveEPCtx は、取り消し可能、照会可能、および編集可能です。
curveMoveEPCtx コマンドを使うと、マニピュレータを使用してカーブのエディット ポイントを移動する新規のコンテキストを作成できます。エディット ポイントは一度に 1 つしか移動できません。
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
exists, image1, image2, image3
| ロング ネーム(ショート ネーム) |
引数タイプ |
プロパティ |
|
-exists(-ex)
|
|
|
|
指定したオブジェクトが存在するかどうかによって、true または false を返します。他のフラグは無視されます。
|
|
-image1(-i1)
|
string
|
 
|
|
コンテキストに関連付けられているツールを表す 3 つの可能なアイコンの中の最初のアイコンです。
|
|
-image2(-i2)
|
string
|
 
|
|
コンテキストに関連付けられているツールを表す 3 つの可能なアイコンの中の 2 番目のアイコンです。
|
|
-image3(-i3)
|
string
|
 
|
|
コンテキストに関連付けられているツールを表す 3 つの可能なアイコンの中の 3 番目のアイコンです。
|
|
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// Create a curve
curve -p 0 0 0 -p 3 5 6 -p 5 6 7 -p 9 9 9 -p 12 10 2 -k 0 -k 0 -k 0 -k 1 -k 2 -k 2 -k 2;
// Result: curve1 //
// Change the selection mode to components, and set edit-point selection mask on only
selectMode -co;
selectType -allComponents false -editPoint true;
// Create a new curve edit point editor context, then switch to it
// You can move the edit points using manipulator
curveMoveEPCtx curveMoveEPCtx1;
setToolTo curveMoveEPCtx1;