PPT_LOGO_4b
‹#›
© 2008 Autodesk
Autodesk Developer Network
ACA.NET extends AutoCAD.NET
Create a Class Library
§Produces a DLL, i.e. an assembly
§ObjectARX Wizard creates a minimum project in VB.NET and C#
§Runs in the acad.exe process
Reference AutoCAD assemblies named ac*mgd.dll located in <ACA install>
§acdbmgd.dll
§acmgd.dll
Reference ACA assemblies mostly named Aec*Mgd.dll located in <ACA install>
§AecBaseMgd.dll
§AecArchMgd.dll
§AecPropDataMgd.dll
§AecStructureMgd.dll
§AecProjectBaseMgd.dll
§AecSpaceOffsetRulesManager.dll
§. . .
NETLOAD the DLL
§Loaded into a shared AppDomain
§Cannot be unloaded by Microsoft design
Here is a very short instruction for creating an ACA.NET application. For more details, refer to the AutoCAD.NET and ACA 2009 .NET resources listed at the end.
Reference AutoCAD assemblies, located in the product install folder.
acdbmgd.dll - ObjectDBX .NET Managed Wrapper, includes IExtensionApplication.
acmgd.dll - AutoCAD .NET Managed Wrapper, includes CommandClass and CommandMethod attributes.
Reference the required ACA assemblies, depending on your needs.
The ObjectARX Wizard adds the two AutoCAD assemblies automatically, but not the ACA ones. They need to be added manually.