Cadcorp SIS API Methods

SetGeomPt Method

Description

Sets the position of a vertex in the current open Item.

Syntax

Visual Basic
Public Function SetGeomPt( _
   ByVal nGeom As Long, _
   ByVal nPt As Long, _
   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.
 
nPt
The index of the vertex, starting at 0. Use GetGeomNumPt to get the number of vertices in a geometry component.
 
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 MM ME MD OD OM SISpy

Group:

Example

sis.SetGeomPt (0, 1, 100, 100, 0)


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).