Gets the position of a vertex from the geometry of the current open Item.
Visual Basic |
---|
Public Function GetGeomPt( _ ByVal nGeom As Long, _ ByVal nPt As Long _ ) As String |
A comma-delimited string containing the x, y and z co-ordinates of the vertex. Use SplitPos to get the x, y and z values themselves.
Use GetNumGeom to get the number of geometry components in an 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 0. Items such as LineString items, polygons, symbols, and so on, are made by a single piece of geometry. Therefore the value would be 0.
Available: GEO MM ME MD OD OM SISpy
Group:
sis.GetGeomPt(0, 0)
Evaluates the position of the first vertex of a single piece of geometry.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).