All Cadcorp SIS API Methods

GetGeomIntersections Method

Description

Get the positions of intersections of items with the geometry of the current open item.

Syntax

Visual Basic
Public Function GetGeomIntersections( _
   ByVal nGeom As Long, _
   ByVal list As String _
) As String

Parameters

nGeom
The index of the geometry component, starting at 0.
 
list
The named list containing the items to be checked against the geometry component for intersection.

Return Type

A comma-delimited string containing the lengths along the geometry component at which intersections with items in the list occur. Returns “-1” if no intersections are found.

Remarks

Use GetNumGeom to get the number of geometry components in an item.

Available: GEO D OD OM SISpy

Group:

Example

sis.GetGeomIntersections(0, "Zones")