how to add AutoCAD as reference in the c#

how to add AutoCAD as reference in the c#

Anonymous
Not applicable
4,606 Views
3 Replies
Message 1 of 4

how to add AutoCAD as reference in the c#

Anonymous
Not applicable

which .dll file should be added to the reference field to use AutoCAD. It shows me error.

 

using AutoCAD;

4,607 Views
3 Replies
Replies (3)
Message 2 of 4

_gile
Consultant
Consultant

Hi,

 

AcDbMgd.dll, AcMgd.dll and AcCoreMgd.dll (until A2013).

Have a look at this:

http://help.autodesk.com/view/ACD/2017/FRA/?guid=GUID-2363CE7C-AC2B-4CAC-AE5D-F77B386132D7



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 4

Anonymous
Not applicable

i am having autocad 2014 and visual studio 2010. For this what should i add.

 

0 Likes
Message 4 of 4

_gile
Consultant
Consultant

As I said: AcCoreMgd.dll, AcDbMgd, AcMgd.dll.

You should have a look at the AutocAD 2014 .NET Developer's Guide (specially this topic).

You can also have a look at this thread.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes