Interface: gridPrefs

Originally impremented in Gmax, this core interface exposes the Home Grid settings in 3ds Max 8 and higher.

 

Interface: gridPrefs

Properties:

.spacing : float : Read|Write

Get/set the grid spacing value.

.majorLines : integer : Read|Write

Get/set the major line every Nth line value.

.perspViewGridExtents : integer : Read|Write

Get/set the extents of the grid in perspective views.

.inhibitGridSubdivision : boolean : Read|Write

Get/set the state of the "Inhibit Grid Subdivision Below Grid Spacing" checkbox.

.inhibitPerspViewGridResize : boolean : Read|Write

Get/set the state of the "Inhibit Perspective View Grid Resize" checkbox.

.dynamicUpdateAllVpts : boolean : Read|Write

Get/set the state of the "Dynamic Update" radio buttons. When set to true, the "All Viewports" option will be selected. When set to false, the "Active Viewport" option will be selected.