<?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: Named Object In NOD - Disappears? in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9528066#M4495</link>
    <description>&lt;P&gt;Unfortunately, I get nothing:&lt;/P&gt;&lt;P&gt;Just:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Object::SubErase&lt;/P&gt;&lt;P&gt;[External Code]&lt;/P&gt;&lt;P&gt;EditorReactor::beginSave&lt;/P&gt;&lt;P&gt;[External Code]&lt;/P&gt;</description>
    <pubDate>Tue, 19 May 2020 23:47:54 GMT</pubDate>
    <dc:creator>Kyudos</dc:creator>
    <dc:date>2020-05-19T23:47:54Z</dc:date>
    <item>
      <title>Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9522794#M4485</link>
      <description>&lt;P&gt;I'm adding a named object to the root NOD. ArxDbg confirms it is there after I create it. But when I save the file and reopen it, the object is no longer in the NOD. Where did it go?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 04:12:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9522794#M4485</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2020-05-18T04:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9523315#M4486</link>
      <description>&lt;P&gt;This object is a custom object?&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 10:19:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9523315#M4486</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2020-05-18T10:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9523332#M4487</link>
      <description>&lt;P&gt;Yes, I thought I might have to use hard pointers in the NOD, but that doesn't help either.&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 10:24:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9523332#M4487</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2020-05-18T10:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9525059#M4488</link>
      <description>&lt;P&gt;ArxDbg further shows my object being erased when I save the file. What would cause that?&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 21:56:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9525059#M4488</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2020-05-18T21:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9525111#M4489</link>
      <description>&lt;P&gt;Hmmmm.... I fixed this by adding a subErase to my object, and vetoing attempts to remove it. Why would I have to do this? Is it because I'm putting it in the NOD root, not in 'my' dictionary?&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 22:23:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9525111#M4489</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2020-05-18T22:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9525214#M4490</link>
      <description>There's nothing in AutoCAD that will automatically erase a generic object added to the NOD.  But, if you are adding the object after a certain point in a save operation (i.e. after the handseed value has already been written to the dwg file), that can cause problems.&lt;BR /&gt;&lt;BR /&gt;Another possibility would be if your object does decompose for save which could result in it being erased as part of being replaced by something else.  But, if that were the case, I think you'd know about it.</description>
      <pubDate>Mon, 18 May 2020 23:54:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9525214#M4490</guid>
      <dc:creator>artc2</dc:creator>
      <dc:date>2020-05-18T23:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9525218#M4491</link>
      <description>&lt;P&gt;Thanks&amp;nbsp; - I'm storing some 'last saved' information in my object, which I set in&amp;nbsp;&lt;STRONG&gt;EditorReactor::beginSave.&amp;nbsp;&lt;/STRONG&gt; Is that too late? If so, where can I set it?&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 23:58:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9525218#M4491</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2020-05-18T23:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9525600#M4492</link>
      <description>Are you adding the object to the NOD in beginSave, or is it already added and you are are just changing its data?</description>
      <pubDate>Tue, 19 May 2020 05:51:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9525600#M4492</guid>
      <dc:creator>artc2</dc:creator>
      <dc:date>2020-05-19T05:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9527879#M4493</link>
      <description>&lt;P&gt;I create the object in the dictionary when I initialise my document. I'm doing a getAt / change data / setAt in beginSave.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 21:47:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9527879#M4493</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2020-05-19T21:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9528004#M4494</link>
      <description>That shouldn't be a problem at all.&lt;BR /&gt;&lt;BR /&gt;If you set up Visual Studio to use our symbol server you might be able to get call stack information that could help see what is doing the erase on save.  The symbol server is &lt;A href="http://symbols.autodesk.com/symbols" target="_blank"&gt;http://symbols.autodesk.com/symbols&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 May 2020 22:58:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9528004#M4494</guid>
      <dc:creator>artc2</dc:creator>
      <dc:date>2020-05-19T22:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9528066#M4495</link>
      <description>&lt;P&gt;Unfortunately, I get nothing:&lt;/P&gt;&lt;P&gt;Just:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Object::SubErase&lt;/P&gt;&lt;P&gt;[External Code]&lt;/P&gt;&lt;P&gt;EditorReactor::beginSave&lt;/P&gt;&lt;P&gt;[External Code]&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 23:47:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9528066#M4495</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2020-05-19T23:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9528218#M4496</link>
      <description>Are you running mixed for debug so that you can see the native as well as managed?</description>
      <pubDate>Wed, 20 May 2020 01:41:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9528218#M4496</guid>
      <dc:creator>artc2</dc:creator>
      <dc:date>2020-05-20T01:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9528224#M4497</link>
      <description>&lt;P&gt;We aren't using any managed code - just C++.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 01:44:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9528224#M4497</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2020-05-20T01:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9528305#M4498</link>
      <description>Ok, then what is the version number of the AutoCAD you are using (so I can check to see if its symbols are on the symbol server)?  This would be the value reported by the "_VERNUM" command or shown in the about box as the product version.</description>
      <pubDate>Wed, 20 May 2020 02:44:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9528305#M4498</guid>
      <dc:creator>artc2</dc:creator>
      <dc:date>2020-05-20T02:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9528365#M4499</link>
      <description>&lt;P&gt;It is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command: _VERNUM&lt;BR /&gt;_VERNUM = "Q.104.0.0 (UNICODE)" (read only)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or AutoCAD 2020.1.2&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 03:24:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9528365#M4499</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2020-05-20T03:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9534527#M4500</link>
      <description>&lt;P&gt;Those names "Object" and "SubErase" in your stack suggest that there is managed code involved, somehow.&amp;nbsp; So it would be worth enabling managed debugging, just temporarily, to try to get more stack info.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think your version of acad's symbols should be available on the server.&amp;nbsp; Here's an old post on how to get the symbols from the AutoCAD symbol server, which should still be fairly accurate.&lt;/P&gt;
&lt;P&gt;&lt;FONT style="background-color: #ffffff;"&gt;&lt;A href="https://through-the-interface.typepad.com/through_the_interface/2011/06/public-symbols-for-autocad-2012.html" target="_blank"&gt;https://through-the-interface.typepad.com/through_the_interface/2011/06/public-symbols-for-autocad-2012.html&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="background-color: #ffffff;"&gt;There are a lot of symbols, and msdev has to search for them on the server via your network link. So if it is taking too long, you could change msdev to *not* automatically load *all* symbols.&amp;nbsp; And then explicitly tell it which modules' symbols to load, such as acdb24.dll and whatever other dlls you see on the stack.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 16:32:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9534527#M4500</guid>
      <dc:creator>autodaug</dc:creator>
      <dc:date>2020-05-22T16:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9534634#M4501</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears that symbols for AutoCAD Q.104 is not updated in our upstream servers.&lt;/P&gt;
&lt;P&gt;I will have raise a request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;symchk "C:\Program Files\Autodesk\AutoCAD 2020\acdb23.dll" /s srv*C:\symbols*https://symbols.autodesk.com/symbols

SYMCHK: acdb23.dll           FAILED  - acdb23.pdb mismatched or not found

SYMCHK: FAILED files = 1
SYMCHK: PASSED + IGNORED files = 0&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 22 May 2020 17:30:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9534634#M4501</guid>
      <dc:creator>moogalm</dc:creator>
      <dc:date>2020-05-22T17:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9537838#M4502</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have update debug symbols on our upstream servers &lt;A href="https://symbols.autodesk.com/symbols" target="_blank"&gt;https://symbols.autodesk.com/symbols&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 09:44:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9537838#M4502</guid>
      <dc:creator>moogalm</dc:creator>
      <dc:date>2020-05-25T09:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9538525#M4503</link>
      <description>&lt;P&gt;Great, thanks for seeing to that!&lt;/P&gt;
&lt;P&gt;It's still a mystery why the object is being erased during a &lt;STRONG&gt;beginSave&lt;/STRONG&gt; notification.&amp;nbsp; Hopefully more stack info will show us who is erasing it.&amp;nbsp; Maybe a rogue beginSave handler is doing something unintended..&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 16:20:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9538525#M4503</guid>
      <dc:creator>autodaug</dc:creator>
      <dc:date>2020-05-25T16:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Named Object In NOD - Disappears?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9539168#M4504</link>
      <description>&lt;P&gt;OK with the symbols I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;acdb23.dll!AcDbImpObject::erase()	Unknown
acdb23.dll!eraseEntryObject()	Unknown
acdb23.dll!AcDbImpDictionary::setAt()	Unknown
acdb23.dll!AcDbDictionary::setAt(wchar_t const *,class AcDbObject *,class AcDbObjectId &amp;amp;)	Unknown
My.arx!My_EditorReactor::beginSave(AcDbDatabase * pDwg, const wchar_t * pIntendedName)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The erase is called by my call to &lt;STRONG&gt;setAt&lt;/STRONG&gt;. Have I misunderstood how to change dictionary objects?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In&amp;nbsp;&lt;STRONG&gt;My_EditorReactor::beginSav&lt;/STRONG&gt;e I have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;if (pDwg-&amp;gt;getNamedObjectsDictionary(pNamedobj, AcDb::kForWrite) == Acad::eOk)
{
    MyObj* pObj = NULL;
    es = pNamedobj-&amp;gt;getAt(_T("My_Obj"), (AcDbObject*&amp;amp;)pObj, AcDb::kForWrite);
    if (pObj != NULL)
    {
        pObj-&amp;gt;SetInfo(....etc....);
        es = pNamedobj-&amp;gt;setAt(_T("My_Obj"), pObj, DictId);
        es = pFp-&amp;gt;close();
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the &lt;STRONG&gt;setAt&lt;/STRONG&gt; not necessary?&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 02:04:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/named-object-in-nod-disappears/m-p/9539168#M4504</guid>
      <dc:creator>Kyudos</dc:creator>
      <dc:date>2020-05-26T02:04:47Z</dc:date>
    </item>
  </channel>
</rss>

