<?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: AcDbObjectContextManager pointer to incomplete class not allowed in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/acdbobjectcontextmanager-pointer-to-incomplete-class-not-allowed/m-p/13791734#M44119</link>
    <description>&lt;P&gt;Feeling stupid!! You are right. I was missing the&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#include "dbObjectContextManager.h"&lt;/PRE&gt;&lt;P&gt;Thank again &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8575899"&gt;@daniel_cadext&lt;/a&gt;&amp;nbsp;. Really appreciate your time.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Sep 2025 17:01:42 GMT</pubDate>
    <dc:creator>karl.sch1983</dc:creator>
    <dc:date>2025-09-01T17:01:42Z</dc:date>
    <item>
      <title>AcDbObjectContextManager pointer to incomplete class not allowed</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbobjectcontextmanager-pointer-to-incomplete-class-not-allowed/m-p/13790792#M44117</link>
      <description>&lt;P&gt;I am trying to run the below code from this &lt;A title="https://forums.autodesk.com/t5/objectarx-forum/how-to-delete-acdbannotationscale-from-contextcollection/m-p/10312656" href="https://forums.autodesk.com/t5/objectarx-forum/how-to-delete-acdbannotationscale-from-contextcollection/m-p/10312656" target="_blank" rel="noopener"&gt;post&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;	AcString annoName(_T("Scale 1:125"));
	AcDbObjectContextManager* cManager = acdbCurDwg()-&amp;gt;objectContextManager();
	AcDbObjectContextCollection* col = cManager-&amp;gt;contextCollection(ACDB_ANNOTATIONSCALES_COLLECTION);
	col-&amp;gt;removeContext(annoName);&lt;/LI-CODE&gt;&lt;P&gt;Keep getting error - Error (active) E0393 pointer to incomplete class type "AcDbObjectContextManager" is not allowed&lt;BR /&gt;Can anyone guide how to proceed? I am simply trying to get the current annotation scale collection and all posts show the same approach of getting the contextManager and then the contextcollection. But it is not working for me. Please provide some guidance. I am stuck.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 02:23:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbobjectcontextmanager-pointer-to-incomplete-class-not-allowed/m-p/13790792#M44117</guid>
      <dc:creator>karl.sch1983</dc:creator>
      <dc:date>2025-09-01T02:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: AcDbObjectContextManager pointer to incomplete class not allowed</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbobjectcontextmanager-pointer-to-incomplete-class-not-allowed/m-p/13790833#M44118</link>
      <description>&lt;P&gt;Did you include the headers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#include "dbObjectContextManager.h"
#include "dbObjContext.h"
#include "dbAnnotationScale.h"
#include "dbObjectContextCollection.h"
#include "dbObjectContextInterface.h"

 static void AcRxPyApp_idoit(void)
 {
     AcDbObjectContextManager* cManager = acdbCurDwg()-&amp;gt;objectContextManager();
     AcDbObjectContextCollection* col = cManager-&amp;gt;contextCollection(ACDB_ANNOTATIONSCALES_COLLECTION);
     for (std::unique_ptr&amp;lt;AcDbObjectContextCollectionIterator&amp;gt; iter(col-&amp;gt;newIterator()); !iter-&amp;gt;done(); iter-&amp;gt;next())
     {
         AcString annoName;
         AcDbObjectContext* ctx = nullptr;
         if (iter-&amp;gt;getContext(ctx) != eOk)
             continue;
         if(ctx-&amp;gt;getName(annoName) != eOk)
             continue;
         acutPrintf(_T("\nName = %ls"), (const wchar_t*)annoName);
     }
 }&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 01 Sep 2025 03:28:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbobjectcontextmanager-pointer-to-incomplete-class-not-allowed/m-p/13790833#M44118</guid>
      <dc:creator>daniel_cadext</dc:creator>
      <dc:date>2025-09-01T03:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: AcDbObjectContextManager pointer to incomplete class not allowed</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acdbobjectcontextmanager-pointer-to-incomplete-class-not-allowed/m-p/13791734#M44119</link>
      <description>&lt;P&gt;Feeling stupid!! You are right. I was missing the&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#include "dbObjectContextManager.h"&lt;/PRE&gt;&lt;P&gt;Thank again &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8575899"&gt;@daniel_cadext&lt;/a&gt;&amp;nbsp;. Really appreciate your time.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 17:01:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acdbobjectcontextmanager-pointer-to-incomplete-class-not-allowed/m-p/13791734#M44119</guid>
      <dc:creator>karl.sch1983</dc:creator>
      <dc:date>2025-09-01T17:01:42Z</dc:date>
    </item>
  </channel>
</rss>

