AddLine method

Creates a line and adds it to the drawing.

Syntax

objectVariable = object.AddLine(StartPoint, EndPoint)

Where:

     objectVariable is a Line object;

     object is one of the ModelSpace or PaperSpace collection objects or a Block object;

     StartPoint is a Point object representing the starting point of the line;

     EndPoint is a Point object representing the ending point of the line.

Examples ...

AddLine method example