<?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 How to convert a .DWG file into .DXF file. in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-dwg-file-into-dxf-file/m-p/2625747#M67237</link>
    <description>Good afternoon All,&lt;BR /&gt;
&lt;BR /&gt;
How to convert a .dwg file into .dxf file. &lt;BR /&gt;
or&lt;BR /&gt;
How to save as a .dwg file into new .dxf file. &lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Tue, 02 Feb 2010 09:58:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-02-02T09:58:10Z</dc:date>
    <item>
      <title>How to convert a .DWG file into .DXF file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-dwg-file-into-dxf-file/m-p/2625747#M67237</link>
      <description>Good afternoon All,&lt;BR /&gt;
&lt;BR /&gt;
How to convert a .dwg file into .dxf file. &lt;BR /&gt;
or&lt;BR /&gt;
How to save as a .dwg file into new .dxf file. &lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Tue, 02 Feb 2010 09:58:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-dwg-file-into-dxf-file/m-p/2625747#M67237</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-02T09:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a .DWG file into .DXF file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-dwg-file-into-dxf-file/m-p/2625748#M67238</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Look at the Database.DxfOut() method.</description>
      <pubDate>Tue, 02 Feb 2010 12:04:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-dwg-file-into-dxf-file/m-p/2625748#M67238</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2010-02-02T12:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a .DWG file into .DXF file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-dwg-file-into-dxf-file/m-p/2625749#M67239</link>
      <description>Hi gile,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for reply,&lt;BR /&gt;
&lt;BR /&gt;
i tried this but it is not converting to DXf see below code&lt;BR /&gt;
&lt;BR /&gt;
Database.DxfOut(path, 1, true);&lt;BR /&gt;
&lt;BR /&gt;
Thanks,</description>
      <pubDate>Tue, 02 Feb 2010 13:11:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-dwg-file-into-dxf-file/m-p/2625749#M67239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-02T13:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a .DWG file into .DXF file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-dwg-file-into-dxf-file/m-p/2625750#M67240</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Database is a class.&lt;BR /&gt;
I was meaning the DxfOut() method of the Database class.&lt;BR /&gt;
You have to create an instance of the the Database class of the Document you want to convert to DXF and call the DxfOut() method for this instance.&lt;BR /&gt;
&lt;BR /&gt;
Assuming you want to convert the active document:&lt;BR /&gt;
&lt;BR /&gt;
{code}Document doc = Application.DocumentManager.MdiActiveDocument;&lt;BR /&gt;
Database db = doc.Database;&lt;BR /&gt;
db.DxfOut(path, 1, true);{code}</description>
      <pubDate>Tue, 02 Feb 2010 13:48:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-dwg-file-into-dxf-file/m-p/2625750#M67240</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2010-02-02T13:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a .DWG file into .DXF file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-dwg-file-into-dxf-file/m-p/2625751#M67241</link>
      <description>Hello &lt;BR /&gt;
&lt;BR /&gt;
Don't forget to put the DxfOut() call inside a transaction otherwise some strange behavior will occur. Also, you might consider using a higher value for precision (second argument).&lt;BR /&gt;
&lt;BR /&gt;
PK &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
{code} &lt;BR /&gt;
Dim doc As Document = Application.DocumentManager.MdiActiveDocument &lt;BR /&gt;
Dim db As Database = doc.Database &lt;BR /&gt;
&lt;BR /&gt;
Dim tr As Transaction = db.TransactionManager.StartTransaction() &lt;BR /&gt;
Using (tr) &lt;BR /&gt;
    db.DxfOut(FileName, 10, True) &lt;BR /&gt;
End Using &lt;BR /&gt;
{code}

Edited by: kviler on Feb 8, 2010 1:21 PM</description>
      <pubDate>Mon, 08 Feb 2010 12:17:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-dwg-file-into-dxf-file/m-p/2625751#M67241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-08T12:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a .DWG file into .DXF file.</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-dwg-file-into-dxf-file/m-p/2625752#M67242</link>
      <description>hi kviler,&lt;BR /&gt;
&lt;BR /&gt;
i forgot to say thanks a lot it working fine.&lt;BR /&gt;
sorry to delay&lt;BR /&gt;
thanks again&lt;BR /&gt;
&lt;BR /&gt;
Have a nice day.</description>
      <pubDate>Wed, 17 Mar 2010 05:24:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-dwg-file-into-dxf-file/m-p/2625752#M67242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-17T05:24:43Z</dc:date>
    </item>
  </channel>
</rss>

