.netautocadautocad-plugindwg

Calling .NET function from AutoCad


Is it possible to call a .net Function from Autocad?

I want to know if I can call a .net function From AutoCad and run some calculations and update SQL Server with the output of that calculations.

Please refer some documentation if you know.


Solution

  • Yes, absolutely. It is a very popular way to automate AutoCAD.

    I recently gave a couple answers on this topic.

    First, have a look here for a breakdown of some of the most common APIs. Follow the links in that post to find all the latest tutorials.

    Second, have a look here for information how to set yourself up in Visual studio and get developing.

    Both posts have a number links to excellent developer resources.