Arbortext IsoDraw > Macro Language Reference > Object Data Types > Application Object - User Interface Preferences > app.grid
  
app.grid
This property gives access to all grid attributes but it can not be used directly.
app.grid.gridSize
Returns and sets the grid size property as float.
app.grid.gridSize = 20
app.grid.radius
Returns and sets the magnetic radius property as float.
app.grid.radius = 5
app.grid.elementMagnet
Returns and sets the magnetic elements property as boolean.
app.grid.elementMagnet = true
app.grid.gridMagnet
Returns and sets the magnetic grid points property as boolean.
app.grid.gridMagnet = true
app.grid.showGrid
Returns and sets the show grid property as boolean.
app.grid.showGrid = true
app.grid.showDim
Returns and sets the show dimensions property as boolean.
app.grid.showDim = true
app.grid.constrain
Returns and sets the align to grid property as boolean.
app.grid.constrain = true
app.grid.gridInFront
Returns and sets the grid in front property as boolean.
app.grid.gridInFront = true
app.grid.noFShortInIso
Returns and sets the no isometric foreshortening property as boolean.
app.grid.noFShortInIso = true
app.grid.gridColor
Returns and sets the color property as RGBColor.
app.grid.gridColor.red = 0
app.grid.firstSelColor
Returns and sets the first color property as RGBColor.
app.grid.firstSelColor.green = 0
app.grid.secondSelColor
Returns and sets the second color property as RGBColor.
app.grid.secondSelColor.blue = 0
app.grid.preferredGrid
Returns and sets the name of the standard Grid as string. Only the names of existing grids can be set.
app.grid.preferredGrid = "Plane view"