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 MD OD SISpy

Group:

Example

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


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).