<?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: something wrong with AcdbDatabase::readDWGFile in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/something-wrong-with-acdbdatabase-readdwgfile/m-p/3474194#M14741</link>
    <description>&lt;P&gt;Try calling AcDbDatabase::closeInput(true) to close the file.&lt;/P&gt;</description>
    <pubDate>Mon, 28 May 2012 05:19:09 GMT</pubDate>
    <dc:creator>owenwengerd</dc:creator>
    <dc:date>2012-05-28T05:19:09Z</dc:date>
    <item>
      <title>something wrong with AcdbDatabase::readDWGFile</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/something-wrong-with-acdbdatabase-readdwgfile/m-p/3474140#M14740</link>
      <description>&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AcDbDatabase *pDb = new AcDbDatabase(Adesk::kFalse);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ( Acad::eOk == pDb-&amp;gt;readDwgFile(szBlockPath) )&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;acdbHostApplicationServices()-&amp;gt;workingDatabase()-&amp;gt;insert(blockId, szBlockName, pDb, false);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;delete pDb;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"szBlockPath" is the absolute path of a dwg File. I run the code above in an arx aplication.&amp;nbsp; after this,&amp;nbsp; the dwg file of "szBlockPath"&amp;nbsp; can't be opened again in the cad, the error msg says it has been opened . I want to know whether the code above has lost some code for releasing the dwg from the cad main process memory.&lt;/P&gt;</description>
      <pubDate>Mon, 28 May 2012 03:34:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/something-wrong-with-acdbdatabase-readdwgfile/m-p/3474140#M14740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-28T03:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: something wrong with AcdbDatabase::readDWGFile</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/something-wrong-with-acdbdatabase-readdwgfile/m-p/3474194#M14741</link>
      <description>&lt;P&gt;Try calling AcDbDatabase::closeInput(true) to close the file.&lt;/P&gt;</description>
      <pubDate>Mon, 28 May 2012 05:19:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/something-wrong-with-acdbdatabase-readdwgfile/m-p/3474194#M14741</guid>
      <dc:creator>owenwengerd</dc:creator>
      <dc:date>2012-05-28T05:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: something wrong with AcdbDatabase::readDWGFile</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/something-wrong-with-acdbdatabase-readdwgfile/m-p/3477658#M14742</link>
      <description>&lt;P&gt;Just starting to get into ObjectARX but have done some coding with .NET api but could preserveSourceDatabase&amp;nbsp; being false be cause the problem?&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2012 15:27:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/something-wrong-with-acdbdatabase-readdwgfile/m-p/3477658#M14742</guid>
      <dc:creator>jeff</dc:creator>
      <dc:date>2012-05-30T15:27:57Z</dc:date>
    </item>
  </channel>
</rss>

