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

概要

autoPlace [-useMouse]

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

カレントのモデリング ペインの中心のポイントを取って、ライブ サーフェスに投影します。 ポイントは 3 次元で返されます。 um/useMouse フラグが設定されている場合、モデル ペインの中心ではなく、現在のマウスの位置が使用されます。

戻り値

float[]

フラグ

useMouse
ロング ネーム(ショート ネーム) 引数型 プロパティ
-useMouse(-um) create
アクティブ ビューの中心ではなく、カレントのマウスの位置を使用します。

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

MEL 例

//    Move the scene around a bit so the grid is no longer
//    centered in the view.
//
track -right 10; track -down 10;

//    Create a sphere.
//
string $sphere[] = `sphere`;

//    Reposition the sphere so that it is in the center of the
//    view.
//
float $position[] = `autoPlace`;
move -relative $position[0] $position[1] $position[2] $sphere[0];