<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AutoCAD Line Object, Draw lines in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/autocad-line-object-draw-lines/m-p/3374217#M56772</link>
    <description>&lt;P&gt;See on-line docs for more please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_self" title="Start from here" href="http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html?url=WS1a9193826455f5ff2566ffd511ff6f8c7ca-4875.htm,topicNumber=d0e51"&gt;&amp;gt;&amp;gt;HotTo&amp;lt;&amp;lt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#339966"&gt;~'J'~&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Mar 2012 14:51:26 GMT</pubDate>
    <dc:creator>Hallex</dc:creator>
    <dc:date>2012-03-16T14:51:26Z</dc:date>
    <item>
      <title>AutoCAD Line Object, Draw lines</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-line-object-draw-lines/m-p/3374151#M56771</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a client who would like me to develop an application that will do the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open AutoCAD&lt;/P&gt;&lt;P&gt;Load an empty drawing&lt;/P&gt;&lt;P&gt;Define a line in memory while specifying it's start and end points, then add it to the DWG file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also need to open existing drawings, select a block of data (ie: 4 lines that make a rectangle, etc) then scale the drawing down and place it on the drawing in a set location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the data has been drawn to a DWG the file is saved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where (&amp;amp; how) can I create a line object in memory, draw it - and refernce it by it's name/ID etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ie:&amp;nbsp; Dim line as AutoCADLine&amp;nbsp;&amp;nbsp; - where AutoCADLine is the type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've read there's a few ways to work with autocad - I'm using the interops DLL's but it doesn't appear that it has the ability to do what I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd really appreciate it if someone could point me in the correct direction for some C# code that draws pre-defined objects onto the drawing surface.&amp;nbsp; Also, reading parts of a drawing from a DWG file is critical as well...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2012 14:25:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-line-object-draw-lines/m-p/3374151#M56771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-16T14:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Line Object, Draw lines</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-line-object-draw-lines/m-p/3374217#M56772</link>
      <description>&lt;P&gt;See on-line docs for more please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_self" title="Start from here" href="http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html?url=WS1a9193826455f5ff2566ffd511ff6f8c7ca-4875.htm,topicNumber=d0e51"&gt;&amp;gt;&amp;gt;HotTo&amp;lt;&amp;lt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#339966"&gt;~'J'~&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2012 14:51:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-line-object-draw-lines/m-p/3374217#M56772</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2012-03-16T14:51:26Z</dc:date>
    </item>
  </channel>
</rss>

