All Cadcorp SIS API Methods

TopoSetLinkPt Method

Description

Sets the position of a vertex in the current open Link item.

Syntax

Visual Basic
Public Function TopoSetLinkPt( _
   ByVal nPt As Long, _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal z As Double _
) As Integer

Parameters

nPt
The index of the vertex, starting at 0. Use GetGeomPt to get the number of vertices in the current Link item.
x
The x coordinate of the new position of the given vertex.
y
The y coordinate of the new position of the given vertex.
z
The z coordinate of the new position of the given vertex.

Remarks

Available: GEO D OD SISpy

Group:

Example

Having retrieved the position of vertex 2, move this vertex 50 metres north and east.

sis.TopoSetLinkPt (2, x + 50, y + 50, z)