.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add a line to .dwg

1 REPLY 1
Reply
Message 1 of 2
Anonymous
172 Views, 1 Reply

Add a line to .dwg

I have been working on this program that is supposed to add a line to a .dwg. I am having trouble creating the line object. Attached is the source code if anyone wishes to look at it.

Thank you
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

For starters, a line requires 2 2D points and your passing it an array of 3
points:

Public Sub New(ByVal point1 As Autodesk.AutoCAD.Geometry.Point2d, ByVal
point2 As Autodesk.AutoCAD.Geometry.Point2d)

-- Mike
___________________________
Mike Tuersley
___________________________
the trick is to realize that there is no spoon...

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost