Monday, July 12, 2010

Making a Remote COM Connection to AutoCAD using VB.NET

Inter-process communication allows you to create dynamic workflows between software applications. This can be achieved in a variety of ways (COM, Remoting...)

The example below provides some basic code for establishing a COM connection to AutoCAD using VB.NET. After a connection is established, it is then possible to send remote commands to the AutoCAD command-line as well as automate other features in the program.

The screenshot shows a custom Grasshopper VB.NET component using this code.

The process is quite simple.... Head over to The Proving Ground Wiki for details...