0

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.

3 Answers3

3

Calling commands from AutoCAD events using .NET is possible by using the new API capabilities in AutoCAD 2016.

sample here

HERE : Some sort of opel source samples of new API

atesbaris
  • 31
  • 4
2

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.

Nik
  • 1,780
  • 1
  • 14
  • 23
1

You should start from this page specially this exercice.

gileCAD
  • 2,295
  • 1
  • 10
  • 10