Adds a vertex to a lightweight polyline or a section.
See Also | Example
object.AddVertex Index, Point
The object or objects this method applies to.
The index in the array of vertices where the vertex is to be added. Index must be a positive integer. The first element of the array is index 0.
Variant (three-element array of doubles);
The 3D OCS coordinates at which to create the new vertex.
For lightweight polylines, the vertex specifies the endpoint for a new line segment. To add an arc segment to a lightweight polyline, first create the line segment, and then add a "bulge" to the individual segment that is to become an arc. To add a bulge value to a segment, use the SetBulge method.
For sections, the vertex specifies a point on the section line.
Coordinates can be converted to and from the OCS using the TranslateCoordinates method.