<?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: Unable to Open Autocad File which is Converted from Unigraphics NX6. in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/unable-to-open-autocad-file-which-is-converted-from-unigraphics/m-p/3251694#M58058</link>
    <description>&lt;P&gt;Using AutoCAD 2012, I do not have issue opening your drawing manually, or by code like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af;"&gt;Document dwg=Application.Documentmanager.Open(@"C:\Temp\Model1.dwg");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af;"&gt;or read it into a database (i.e. not open the drawing in editor):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af;"&gt;using (Database db=new Database(false, true))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; db.ReadDwgFile(@"C:\Temp\Model1.dwg", FileOpemMode.OpenForReadAndAllShare, true, null);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Dec 2011 15:15:12 GMT</pubDate>
    <dc:creator>norman.yuan</dc:creator>
    <dc:date>2011-12-06T15:15:12Z</dc:date>
    <item>
      <title>Unable to Open Autocad File which is Converted from Unigraphics NX6.</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-open-autocad-file-which-is-converted-from-unigraphics/m-p/3251364#M58057</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I have to open the files which are converted from Unigraphics NX6, and run some routines, but I am not able to open the Autocad through .net api, my code is as follows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim Filename As String = OpenFileToConvert.FileName&amp;nbsp; ' I am selecting the Dwg through OpenFileDialog&lt;BR /&gt;Dim acDocMgr As DocumentCollection = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager&lt;BR /&gt;acDocMgr.Open(Filename, False)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even if I open the dwg manually and then save it again to Autocad, I am not able to achieve any success.&lt;/P&gt;&lt;P&gt;And I would be glad if someone suggests me a code to work with, without open the file at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Herewith I am attaching the sample file which I am not able to open through vb.net in Autocad.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2011 12:04:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-open-autocad-file-which-is-converted-from-unigraphics/m-p/3251364#M58057</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-06T12:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Open Autocad File which is Converted from Unigraphics NX6.</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-open-autocad-file-which-is-converted-from-unigraphics/m-p/3251694#M58058</link>
      <description>&lt;P&gt;Using AutoCAD 2012, I do not have issue opening your drawing manually, or by code like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af;"&gt;Document dwg=Application.Documentmanager.Open(@"C:\Temp\Model1.dwg");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af;"&gt;or read it into a database (i.e. not open the drawing in editor):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af;"&gt;using (Database db=new Database(false, true))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; db.ReadDwgFile(@"C:\Temp\Model1.dwg", FileOpemMode.OpenForReadAndAllShare, true, null);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2011 15:15:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-open-autocad-file-which-is-converted-from-unigraphics/m-p/3251694#M58058</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2011-12-06T15:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Open Autocad File which is Converted from Unigraphics NX6.</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-open-autocad-file-which-is-converted-from-unigraphics/m-p/3252074#M58059</link>
      <description>&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;It took a while for me to figure this out, but I am glad you pulled this one off for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2011 18:04:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-open-autocad-file-which-is-converted-from-unigraphics/m-p/3252074#M58059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-06T18:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Open Autocad File which is Converted from Unigraphics NX6.</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-open-autocad-file-which-is-converted-from-unigraphics/m-p/3265620#M58060</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I still see the same error. please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2011 13:01:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-open-autocad-file-which-is-converted-from-unigraphics/m-p/3265620#M58060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-16T13:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Open Autocad File which is Converted from Unigraphics NX6.</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-open-autocad-file-which-is-converted-from-unigraphics/m-p/3265730#M58061</link>
      <description>&lt;P&gt;Try add &lt;STRONG&gt;CommandFlags.Session&lt;/STRONG&gt; to your command method&lt;/P&gt;&lt;P&gt;I can't rich at AutoCad today, sorry&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2011 14:33:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-open-autocad-file-which-is-converted-from-unigraphics/m-p/3265730#M58061</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2011-12-16T14:33:28Z</dc:date>
    </item>
  </channel>
</rss>

