<?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: switching to modelspace, Acad crashes in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/switching-to-modelspace-acad-crashes/m-p/312351#M39381</link>
    <description>close the newly created layout. &lt;BR /&gt;
Each newly created db object is opened for write and you must close it after appending to some table etc...&lt;BR /&gt;
Chudo</description>
    <pubDate>Sat, 14 Sep 2002 05:08:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2002-09-14T05:08:29Z</dc:date>
    <item>
      <title>switching to modelspace, Acad crashes</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/switching-to-modelspace-acad-crashes/m-p/312349#M39379</link>
      <description>I have the following code in my app:&lt;BR /&gt;
&lt;BR /&gt;
AcDbLayoutManager *pLayout=acdbHostApplicationServices()-&amp;gt;layoutManager();&lt;BR /&gt;
pLayout-&amp;gt;createLayout("dcsLayout",layoutId,layoutBlkRecId);&lt;BR /&gt;
pLayout-&amp;gt;setCurrentLayoutId(layoutId);&lt;BR /&gt;
&lt;BR /&gt;
and all is fine and dandy.  Later I call this section of code to return to&lt;BR /&gt;
modelspace:&lt;BR /&gt;
&lt;BR /&gt;
acdbHostApplicationServices()-&amp;gt;workingDatabase()-&amp;gt;setTilemode(1);&lt;BR /&gt;
&lt;BR /&gt;
and Acad crashes with eWasOpenForWrite.  What was open for write?  I don't&lt;BR /&gt;
think I have anything to close...&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Wed, 11 Sep 2002 11:23:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/switching-to-modelspace-acad-crashes/m-p/312349#M39379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-09-11T11:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: switching to modelspace, Acad crashes</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/switching-to-modelspace-acad-crashes/m-p/312350#M39380</link>
      <description>nevermind...</description>
      <pubDate>Thu, 12 Sep 2002 06:17:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/switching-to-modelspace-acad-crashes/m-p/312350#M39380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-09-12T06:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: switching to modelspace, Acad crashes</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/switching-to-modelspace-acad-crashes/m-p/312351#M39381</link>
      <description>close the newly created layout. &lt;BR /&gt;
Each newly created db object is opened for write and you must close it after appending to some table etc...&lt;BR /&gt;
Chudo</description>
      <pubDate>Sat, 14 Sep 2002 05:08:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/switching-to-modelspace-acad-crashes/m-p/312351#M39381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-09-14T05:08:29Z</dc:date>
    </item>
  </channel>
</rss>

