Creates a lightweight polyline from a list of vertices.
See Also | Example
RetVal = object.AddLightWeightPolyline(VerticesList)
The object or objects this method applies to.
Variant (array of doubles)
The array of 2D OCS coordinates specifying the vertices of the polyline. At least two points (four elements) are required for constructing a lightweight polyline. The array size must be a multiple of 2.
The newly created LightweightPolyline object.
The vertices specify the endpoints for the line segments that make up the polyline. To add an arc segment, first create the polyline with all line segments, and then add a bulge to the individual segments you want to be arcs. To add a bulge value to a segment, use the SetBulge method.
The elevation for the polyline will be set at the current elevation for the layout. Use the ElevationModelspace or ElevationPaperspace property to determine the elevation for the polyline.
Coordinates can be converted to and from the OCS using the TranslateCoordinates method.