§1. Start with a Class
Library application type (DLL)
§
§2. Add references to
AutoCAD’s managed assemblies
§acdbmgd.dll,
acmgd.dll & accoremgd.dll
§
§3. Add the namespaces
§ In VB use
Imports keyword, in .C# use the using keyword
§
§ 4. Add an AutoCAD command using CommandMethod attribute.
§
§ 5. Create the procedure that will run when
the command is run in
AutoCAD
§ using the classes from the AutoCAD managed
assemblies.
§(acmgd.dll, acdbmdg.dll & accoremgd.dll)
§
§