Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to run the below code from this post
AcString annoName(_T("Scale 1:125"));
AcDbObjectContextManager* cManager = acdbCurDwg()->objectContextManager();
AcDbObjectContextCollection* col = cManager->contextCollection(ACDB_ANNOTATIONSCALES_COLLECTION);
col->removeContext(annoName);
Keep getting error - Error (active) E0393 pointer to incomplete class type "AcDbObjectContextManager" is not allowed
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.
Solved! Go to Solution.