Creates a new infinite line and adds it to the drawing.
objectVariable = object.AddInfiniteLine(Point1, Point2)
objectVariable is an InfiniteLine object;
object is one of the ModelSpace or PaperSpace collection objects or a Block object;
Point1 is a Point object representing one point on the line;
Point2 is a Point object representing a second point on the line.
AddInfiniteLine method example