All Cadcorp SIS API Methods

TopoGetLinkSeed Method

Description

Gets the signed ID of a TopoPolygon or TopoLineString item from the current open Link item.

Syntax

Visual Basic
Public Function TopoGetLinkSeed( _
   ByVal n As Integer _
) As Long

Parameters

n
The index of the TopoPolygon or TopoLineString item in the list of TopoPolygon and TopoLineString Items attached to the current Link item, starting at 0. Use TopoGetLinkNumSeed to find out the number of TopoPolygon and TopoLineString Items attached to a Link item.

Return Type

The ID of a TopoPolygon or TopoLineString. The ID number will be negative if the Link item is reversed in the TopoPolygon or TopoLineString item, i.e. the TopoPolygon or TopoLineString item runs from the end Node to the start Node.

Remarks

Available: GEO D OD SISpy

Group:

Example

linkSeed = sis.TopoGetLinkSeed ( 1 )