How to install the dotNet API. Help?

How to install the dotNet API. Help?

soliver.i.t
Explorer Explorer
933 Views
2 Replies
Message 1 of 3

How to install the dotNet API. Help?

soliver.i.t
Explorer
Explorer

Hi folks

 

I've recently attempted to install the dotNet API for visual studio 2015.

 

As instructed I downloaded the sdk and ran the self extracting exe. Once this was complete I was advised to open Visual Studio and select the template from the New project template list however, when I bring up the list there is no Autodesk section and no AutoCAD templates. 

 

I have also tried the Revit API which similarly doesn't show up in the templates list.

 

Am I missing something? The installation is meant to be straight forward but it doesn't add the templates.

 

Thanks

0 Likes
934 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

I would suggest you not to use any template - all you need to do after getting the ObjectARX installed is to add references to *.dll files to your solution, save the solution, and use this solution as template.  Reason: I believe template only works with very specific version of Visual Studio (I could not get it worked on my PC either).  

 

Most of the applications you develop will need the 3 dll files"

  1. AcCoreMgd.dll
  2. AcDbMgd.dll
  3. AcMgd.dll

They can be found in

C:\Autodesk\Autodesk_ObjectARX_2017_Win_64_and_32_Bit\inc

 

 

Capture.PNG

0 Likes
Message 3 of 3

_gile
Consultant
Consultant

Hi,

 

If you start learning AutoCAD .NET programming you should first learn how to create an AutoCAD plugin project from scratch. You could then export this project as template.

 

If you can understand French, I wrote some tutos showing how to create a template (you can also get an English translation from here), they're quite old but easily transposable to newer versions of Visual Studio.

 

You can also download some basic templates from here. You may have to edit the AutoCAD201XPlugin.csproj file content if the paths of acad.exe and AutoCAD libraries are different on your computer from those described.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes