• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Valued Contributor
    Posts: 53
    Registered: ‎07-18-2005

    Add a line to .dwg

    81 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
    Please use plain text.
    *Mike Tuersley

    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...
    Please use plain text.