.NET

Reply
Valued Contributor
53 Posts
0 Kudos
Registered: ‎07-18-2005
Post 1 of 2

Add a line to .dwg

87 Views, 1 Replies
08-24-2005 05:30 PM
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
*Mike Tuersley
Post 2 of 2

Re: Add a line to .dwg

08-24-2005 08:09 PM in reply to: sepich4567
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...
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!