Message 1 of 9
Creating a AcCoreConsole.exe .NET addin

Not applicable
07-17-2013
04:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm attempting to create a .NET addin running in AcCoreConsole.exe. In this project I've removed the reference to AcMgd.dll and replaced it with AcCoreMgd.dll. Is it correct that i cannot use the AcMgd.dll if I am to run my .NET addin from within AcCoreConsole.exe?
If so, how do access the DocumentManager?
For instance:
DocumentCollection ^acDocMgr = Autodesk::AutoCAD::ApplicationServices::Application::DocumentManager;
gives the error:
error C2039: 'DocumentManager' : is not a member of 'Autodesk::AutoCAD::ApplicationServices'
Is there a replacement in the AcCoreMgd.dll for the DocumentManager?
Regards,
Bjørn Egil Jenssen