All Cadcorp SIS API Methods

GetNumGeom Method

Description

Gets the number of geometry pieces in the current open Item.

Syntax

Visual Basic
Public Function GetNumGeom() As Long

Return Type

The number of geometry pieces in the current open Item. Items such as blocks, groups, MultiLineStrings, and so on, can be made up of multiple geometry. Therefore the value of nGeom can be greater than 1. Items such as LineStrings items, polygons, symbols, and so on, are made by a single piece of geometry. Therefore this value would be 1.

Remarks

Available: GEO D OD OM SISpy

Group: