In this earlier entry I showed some techniques for calling AutoCAD commands programmatically from ObjectARX and from VB(A). Thanks to Scott Underwood for proposing that I also mention calling commands from .NET, and also to Jorge Lopez for (in a strange coincidence) pinging me via IM this evening with the C# P/Invoke declarations for ads_queueexpr() and acedPostCommand(). It felt like the planets were aligned... :-) Here are some ways to send commands to AutoCAD from a .NET app: SendStringToExecute from the managed document object SendCommand from the COM document object acedPostCommand via P/Invoke ads_queueexpr() via P/Invoke Here's some VB.NET... Read more →