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

概要

curveSketchCtx [-degree uint] [object]

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

curveSketchCtx コマンドは新規のカーブ スケッチ コンテキストを作成し、「ペンシル コンテキスト」としても知られます。

戻り値

string(新しいカーブ スケッチ コンテキストの名前)

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

フラグ

degree
ロング ネーム(ショート ネーム) 引数型 プロパティ
-degree(-d) uint
有効な値は 1 または 3 です。

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

MEL 例

// 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;