Gets the shape of a segment within the geometry of the current open Item.
Visual Basic |
---|
Public Function GetGeomSegShape( _ ByVal nGeom As Long, _ ByVal nSeg As Long _ ) As Integer |
SIS_LINE_STRAIGHT
|
The segment is straight. |
SIS_LINE_BULGE
|
The segment is a bulge. |
SIS_LINE_BEZIER
|
The segment is a bezier. |
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.GetGeomSegShape(0, 0)
Evaluates the shape of the first segment 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).