MAXScript Language Reference > 3ds Max Objects > Interfaces > Core Interfaces > Core Interfaces Documentation > E,F,G,H >

# Interface: gridPrefs

Interfaces > Core Interfaces > gridPrefs

| Core Interfaces - Quick Navigation

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

    Interface: gridPrefs

Properties:

    gridPrefs.spacing : float : Read|Write

Get/set the grid spacing value.

    gridPrefs.majorLines : integer : Read|Write

Get/set the major line every Nth line value.

    gridPrefs.perspViewGridExtents : integer : Read|Write

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

    gridPrefs.inhibitGridSubdivision : boolean : Read|Write

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

    gridPrefs.inhibitPerspViewGridResize : boolean : Read|Write

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

    gridPrefs.dynamicUpdateAllVpts : boolean : Read|Write

Get/set the state of the "Dynamic Update" radio buttons.