AddLine Method

Creates a line passing through two points.

See Also | Example

Signature

RetVal = object.AddLine(StartPoint, EndPoint)

Object

ModelSpace Collection, PaperSpace Collection, Block
The object or objects this method applies to.

StartPoint

Variant (three-element array of doubles); input-only
The 3D WCS coordinates specifying the line start point.

EndPoint

Variant (three-element array of doubles); input-only
The 3D WCS coordinates specifying the line endpoint.

RetVal

Line object
The newly created Line object.

 

   Comments?