All Cadcorp SIS API Methods

CreateFormulaGrid Method

Description

Creates a Grid item by combining named Grid Items using an expression.

Syntax

Visual Basic
Public Function CreateFormulaGrid( _
   ByVal formula As String _
) As Integer

Parameters

formula
The expressions involving Grid Items which have previously been saved in a Named Object Library. For example, if Grid Items have been saved under the names "G1" and "G2", then a new Grid item can be created by using the expression FindGrid("G1")+FindGrid("G2").

See Grid From Expression for an explanation of the FindGrid() function.

Remarks

Available: GEO OD SISpy

Group:

Example

sis.CreateFormulaGrid("FindGrid(\"grid1\")+FindGrid(\"grid2\")")