<?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: DWG to Image in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3793256#M50800</link>
    <description>&lt;P&gt;There are two methods:&lt;/P&gt;
&lt;P&gt;1. Plot dwg to image format with AutoCAD Plot API.&lt;/P&gt;
&lt;P&gt;2. Using ActiveX AutoCAD Model method Export&lt;/P&gt;
&lt;P&gt;Both of them was using more than once in this board. Let use search. &lt;/P&gt;</description>
    <pubDate>Fri, 01 Mar 2013 10:24:45 GMT</pubDate>
    <dc:creator>Alexander.Rivilis</dc:creator>
    <dc:date>2013-03-01T10:24:45Z</dc:date>
    <item>
      <title>DWG to Image</title>
      <link>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3793224#M50799</link>
      <description>&lt;P&gt;Hello Everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a basic question, i am trying to convert an autocad file to image, preferably an bmp, ti, png....etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any body know how to achieve this objective since most of project parts are completed, am stuck up with this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 09:02:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3793224#M50799</guid>
      <dc:creator>amitnkukanur</dc:creator>
      <dc:date>2013-03-01T09:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: DWG to Image</title>
      <link>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3793256#M50800</link>
      <description>&lt;P&gt;There are two methods:&lt;/P&gt;
&lt;P&gt;1. Plot dwg to image format with AutoCAD Plot API.&lt;/P&gt;
&lt;P&gt;2. Using ActiveX AutoCAD Model method Export&lt;/P&gt;
&lt;P&gt;Both of them was using more than once in this board. Let use search. &lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 10:24:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3793256#M50800</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2013-03-01T10:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: DWG to Image</title>
      <link>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3793571#M50801</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/481027" target="_self"&gt;Alexander.Rivilis&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for reply, i will work on them, but i am supposed to use COM objects not inside AutoCAD. Any ideas??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rgds&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Amit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 15:16:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3793571#M50801</guid>
      <dc:creator>amitnkukanur</dc:creator>
      <dc:date>2013-03-01T15:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: DWG to Image</title>
      <link>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3794002#M50802</link>
      <description>&lt;P&gt;Do I understand correctly that you're going to work with AutoCAD from an external exe-file through ActiveX interface? If so you can use AcadDocument.Export as well as AcadDocument.Plot.PlotToXXX methods.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 20:31:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3794002#M50802</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2013-03-01T20:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: DWG to Image</title>
      <link>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3794631#M50803</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/481027" target="_self"&gt;Alexander.Rivilis&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for Reply, yes Alexander you are right i am trying to do the same thing. Now i will work on the suggestions given by you. I will get back after some time with results&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2013 05:06:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3794631#M50803</guid>
      <dc:creator>amitnkukanur</dc:creator>
      <dc:date>2013-03-03T05:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: DWG to Image</title>
      <link>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3794706#M50804</link>
      <description>&lt;P&gt;Hello Alexander,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried what you told to me. This is my code below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;AcadApplication acadapp = new AcadApplication();&lt;BR /&gt;acadapp.Visible = false;&lt;BR /&gt;acadapp.Documents.Open(@"D:\Project\Cad Drawings\SHOP\PH#01\05-206.dwg");&lt;/P&gt;&lt;P&gt;AcadDocument acadDoc = acadapp.ActiveDocument;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AcadSelectionSet sset = default(AcadSelectionSet);&lt;BR /&gt;sset = acadDoc.PickfirstSelectionSet;&lt;/P&gt;&lt;P&gt;acadDoc.Export(@"e:\exportFile", "pdf", sset);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But every time i get Invalid Argument error at the export step. Any ideas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Amit&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2013 14:45:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3794706#M50804</guid>
      <dc:creator>amitnkukanur</dc:creator>
      <dc:date>2013-03-03T14:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: DWG to Image</title>
      <link>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3794715#M50805</link>
      <description>&lt;P&gt;Have you ever tried "Export" command in AutoCAD? If you had, you'd have known, PDF cannot be created with "EXPORT" command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, the AcadDocument.Export() method does not export all the types of file the "Export" command does. If you have installed VBA, you can find this in VBA Help about what file type the Export() method can export:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;quote&amp;gt;&lt;/P&gt;&lt;P class="Heading-2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="element"&gt;Extension&lt;/P&gt;&lt;P class="element-desc"&gt;String; input-only This string should contain three characters specifying the type of file to export the drawing into. Case is not important. Use one of the following extensions: &lt;EM&gt;.wmf, .sat, .eps, .dsf,&lt;/EM&gt; or &lt;EM&gt;.bmp&lt;/EM&gt;.&lt;/P&gt;&lt;P class="element"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;/quote&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, if you need to get PDF, you need to do plotting (to plot to DWG To PDF.pc3 or other PDF plotting device) instead of exporting.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2013 15:18:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3794715#M50805</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2013-03-03T15:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: DWG to Image</title>
      <link>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3794948#M50806</link>
      <description>&lt;P&gt;&lt;SPAN class="login-bold"&gt;hello&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921" target="_self"&gt;norman.yuan&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Thanks for reply and giving suggestion. My program is now working after making suitable changes as you advised.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Thanks for Suggestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Amit&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2013 04:34:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dwg-to-image/m-p/3794948#M50806</guid>
      <dc:creator>amitnkukanur</dc:creator>
      <dc:date>2013-03-04T04:34:12Z</dc:date>
    </item>
  </channel>
</rss>

