フレームを表示
ジャンプ先: 概要. 戻り値. フラグ. MEL 例.
grid [-default] [-displayAxes boolean] [-displayAxesBold boolean] [-displayDivisionLines boolean] [-displayGridLines boolean] [-displayOrthographicLabels boolean] [-displayPerspectiveLabels boolean] [-divisions uint] [-orthographicLabelPosition string] [-perspectiveLabelPosition string] [-reset] [-size linear] [-spacing linear] [-style uint] [-toggle boolean]
grid は、取り消し可能、照会可能、および編集不可能です。
このコマンドは、パース ビューと正投影ビューで表示される地表プレーンの、ラインのサイズと間隔を変更します。
このコマンドは地表プレーンをリセットし、そのサイズとグリッド ラインの間隔、グリッドのサブディビジョンと表示オプションを変更します。
なし
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
default, displayAxes, displayAxesBold, displayDivisionLines, displayGridLines, displayOrthographicLabels, displayPerspectiveLabels, divisions, orthographicLabelPosition, perspectiveLabelPosition, reset, size, spacing, style, toggle
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
//To toggle the grid display of the grid (in all views):
grid -toggle (! `grid -q -toggle`)
// To reset the grid to default values:
grid -reset;
// To change the grid spacing and subdivisions:
grid -spacing 10 -d 10;
// To set the defaults for inches
grid -default -spacing 1in -size 1ft -divisions 4;
// To change the size of the grid to 20x20, extending 10 units
// in each direction:
grid -spacing 10;
// To query the current size of the grid:
// returns a size in the current linear unit.
grid -query -size;
// A typical grid would be a grid size of 20x20, with
// major grid lines every 5 units, with 5 divisions between
// major grid lines. This be done with the following command.
grid -size 10cm -sp 5.0cm -d 5 ;
// Turn on numeric grid labels.
//
grid -displayPerspectiveLabels true;
// Display grid labels along the axes.
//
grid -perspectiveLabelPosition "axis";