If I want to create an external, stand-alone .Net application that drives AutoCad, which API do I need to use ... the .Net API or the COM Interop API?
The .NET api or AutoCAD managed api is only available to a dll that uses the NETLOAD command to load it. If you have to use a standalone exe, your only option is the COM api.
In addition to what @ed57gmc said, you may want to think harder and ask yourself: why you want to use an EXE app to drive AutoCAD: it is hardly an good business solution in most cases, if not all.
Norman Yuan
It may not be the best solution, but I certainly wouldn't say it's "hardly a good business solution". It has served us well over the years...
Hi,
...or you run an external EXE using COM just to start AutoCAD and load your managed DLL, and this DLL does the real job 😉
- alfred -
Can't find what you're looking for? Ask the community or share your knowledge.