AutoSurfaceGridMap Object

The AutoSurfaceGridMap object controls 3D surface grid map settings.

Derived from: AutoPlot object (All methods and properties of AutoPlot apply to this object.)

Properties

AutoFirstCol

AutoFirstRow

AutoLastCol

AutoLastRow

Base

BlankedNodes

ColorScale

Fill

FirstCol

FirstRow

Grid

LastCol

Lighting

Mesh

Overlay

RemapToValue

ShowColorScale

Methods

DisplayGridInfo

Example

The following script demonstrates how the AutoSurfaceGridMap object is used.

Sub Main

 

'Declares GrapherApp as an object

  Dim GrapherApp As Object

 

'Creates an instance of the Grapher Application object

 'and assigns it to the variable named "GrapherApp"

  Set GrapherApp = CreateObject("Grapher.Application")

 

 'Makes Grapher visible

  GrapherApp.Visible = True

 

 'Creates a plot document in Grapher and assigns

 'it to the variable named "Plot"

  Set Plot = GrapherApp.Documents.Add(grfPlotDoc)

 

 'Declares Graph as an object

  Dim Graph As Object

 

'Add a surface data map

Set Graph = Plot.Shapes.AddSurfaceGridMapGraph("C:\Program Files\Golden Software\Grapher\Samples\HELENS2.GRD")

 

'Declares SurfaceGridMap as object

Dim SurfaceGridMap as object

 

'Set the surface grid map to the SurfaceGridMap object

Set SurfaceGridMap = Graph.Plots.Item(1)

 

End Sub