ジャンプ先: 概要. 戻り値. フラグ. MEL 例.
curveSketchCtx [-degree uint] [-exists] [-history boolean] [-image1 string] [-image2 string] [-image3 string] [-name string]
[object]
curveSketchCtx は、取り消し可能、照会可能、および編集可能です。
curveSketchCtx コマンドは新規のカーブ スケッチ コンテキストを作成し、「ペンシル コンテキスト」としても知られます。
| string | (新しいカーブ スケッチ コンテキストの名前) |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
degree, exists, history, image1, image2, image3, name
| ロング ネーム(ショート ネーム) |
引数タイプ |
プロパティ |
|
-degree(-d)
|
uint
|
 
|
|
|
-exists(-ex)
|
|
|
|
指定したオブジェクトが存在するかどうかによって、true または false を返します。他のフラグは無視されます。
|
|
-history(-ch)
|
boolean
|
|
|
ツール コマンドの場合、対象となるツールのコンストラクション ヒストリをオンにします。
|
|
-image1(-i1)
|
string
|
 
|
|
コンテキストに関連付けられているツールを表す 3 つの可能なアイコンの中の最初のアイコンです。
|
|
-image2(-i2)
|
string
|
 
|
|
コンテキストに関連付けられているツールを表す 3 つの可能なアイコンの中の 2 番目のアイコンです。
|
|
-image3(-i3)
|
string
|
 
|
|
コンテキストに関連付けられているツールを表す 3 つの可能なアイコンの中の 3 番目のアイコンです。
|
|
-name(-n)
|
string
|
|
|
これがツール コマンドの場合、ツールに適切に名前を付けます。
|
|
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// To create a new sketch context, which creates degree 3 curves:
curveSketchCtx -degree 3;
// To query the degree of an existing context:
curveSketchCtx -q -degree pencilContext;
// To edit the degree of an existing context:
curveSketchCtx -e -degree 1 pencilContext;