移動先: 概要 戻り値 フラグ. MEL 例.
createDrawCtx [-axis string] [-exists] [-image1 string] [-image2 string] [-image3 string]
createDrawCtx は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
このコマンドを使うと、ジョイント コンテキストを作成/描画できます。コンテキストを使うと、ミラーされたジョイン コンテキストを素早く作成できます。
戻り値の型は照会モードでは照会フラグが基になります。
axis, exists, image1, image2, image3
ロング ネーム(ショート ネーム) |
引数型 |
プロパティ |
-exists(-ex)
|
|
|
|
指定したオブジェクトが存在するかどうかによって、true または false を返します。他のフラグは無視されます。
|
|
-image1(-i1)
|
string
|
 
|
|
-image2(-i2)
|
string
|
 
|
|
-image3(-i3)
|
string
|
 
|
|
コンテキストは、コンテキストに関連付けられている
ツールを表すアイコンを 3 つまでサポートします。
|
|
-axis(-a)
|
string
|
 
|
|
ミラーする軸を指定します。有効な文字列は、「x」、「y」、「z」です。
C: デフォルトは「x」です。
Q: 照会するとstring を返します。
|
|
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: 1 つのコマンドで複数回使用可能なフラグ
|
// Create a createDrawContext with mirroring of the x axis and
// use the tool.
//
createDrawCtx -axis "x" myCreateDrawContext;
setToolTo myCreateDrawContext;