All Cadcorp SIS API Methods

InsertGeomPt Method

Description

Inserts a new vertex into geometry from the current open Item.

Syntax

Visual Basic
Public Function InsertGeomPt( _
   ByVal nGeom As Long, _
   ByVal arclen As Double, _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal z As Double _
) As Integer

Parameters

nGeom
The index of the geometry component, starting at 0. Use GetNumGeom to get the number of geometry components in an Item.
 
arclen
The length along the geometry component to insert the new vertex.
 
x
The x coordinate position of the new vertex.
 
y
The y coordinate position of the new vertex.
 
z
The z coordinate position of the new vertex.

Remarks

Available: GEO OD SISpy

Group:

Example

sis.InsertGeomPt (0, 120, 431899, 928607, 0)