ジャンプ先: 概要. 戻り値. キーワード. 関連. フラグ. MEL 例.

概要

align [-alignToLead] [-coordinateSystem name] [-xAxis string] [-yAxis string] [-zAxis string]

align は、取り消し可能、照会不可能、および編集不可能です。

オブジェクトを X、Y、Z 軸に沿って位置合わせまたはスプレッドします。

戻り値

booleantrue/false

キーワード

objects, move, align

関連

move

フラグ

alignToLead, coordinateSystem, xAxis, yAxis, zAxis
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
-alignToLead(-atl) create
設定すると、先頭オブジェクトから最小値、中央値、または最大値が計算されます。設定しないと、すべてのオブジェクトの平均値になります。
既定は false です。
-coordinateSystem(-cs) name create
X、Y、Z 座標を定義します。既定はワールド座標です。
-xAxis(-x) string create
none、min、mid、max、dist、stack のいずれか。
実行する位置合わせの種類を定義します。既定は none です。
-yAxis(-y) string create
none、min、mid、max、dist、stack のいずれか。
実行する位置合わせの種類を定義します。既定は none です。
-zAxis(-z) string create
none、min、mid、max、dist、stack のいずれか。
実行する位置合わせの種類を定義します。既定は none です。

フラグはコマンドの作成モードで表示できます フラグはコマンドの編集モードで表示できます
フラグはコマンドの照会モードで表示できます コマンド内でフラグを複数回使用できます。

MEL 例

// align the selected objects in x
align -x mid;

// align the selected objects to the mid-point in x of the first select object
align -x mid -alignToLead;