Accueil
AutoLISP
.NET
Tutoriels
Liens
Contact

AutoCAD Plugin project templates for Visual Studio (C#)

These project templates for AutoCAD plugins are set to launch AutoCAD and load the assembly automatically when debugging starts (with AutoCAD 2016 and later, LEGACYCODESEARCH system variable have to be set to 1).

The path of the AutoCAD executable (acad.exe) is:
C:\Program Files\Autodesk\AutoCAD 201X\acad.exe

And those of the AutoCAD .NET library are:
C:\ObjectARX 201X\inc\accoremgd.dll
C:\ObjectARX 201X\inc\acdbmgd.dll
C:\ObjectARX 201X\inc\acmgd.dll

If the paths are different on the target device, modify them accordingly in the AutoCAD201XPlugin.csproj file contained in AutoCAD 201X Plugin.zip.

Save the ZIP files corresponding to the targeted AutoCAD versions in the Visual Studio project templates directory, by default for Visual Studio 2015:
C:\Users\<user name>\Documents\Visual Studio 2015\Templates\ProjectTemplates\
Or in one of its subfolders (an 'AutoCAD' subfolder can be added):
C:\Users\<user name>\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#\AutoCAD\

AutoCAD 2013 Plugin.zip (.NET Framework 4.0)

AutoCAD 2014 Plugin.zip (.NET Framework 4.0)

AutoCAD 2015 Plugin.zip (.NET Framework 4.5)

AutoCAD 2016 Plugin.zip (.NET Framework 4.5)

AutoCAD 2017 Plugin.zip (.NET Framework 4.6)

AutoCAD 2018 Plugin.zip (.NET Framework 4.6)



Gilles Chanteau

Solarized Color Scheme by Etan Schoonover