Getting started with interops

Getting started with interops

Christopher.hartman
Enthusiast Enthusiast
823 Views
3 Replies
Message 1 of 4

Getting started with interops

Christopher.hartman
Enthusiast
Enthusiast

I'm new to AutoCAD and especially the AutoCAD Interops. Could anyone point me in the right direction on where I can find details on how to use them?  I specifically need to be able to open a DWT and insert information from a DWG.

 

Any help would be greatly appreciated. 

0 Likes
Accepted solutions (1)
824 Views
3 Replies
Replies (3)
Message 2 of 4

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> I'm new to AutoCAD and especially the AutoCAD Interops.

Which development API are you on? AutoCAD Interops can be used inside dotNET based application as well as VBA.

These are the correct forums for:

>>>AutoCAD dotNET<<<

>>>AutoCAD VBA<<<

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 4

Christopher.hartman
Enthusiast
Enthusiast

I am using two DLL's in my C# .NET application: interop.AutoCAD.dll and interop.AXDBLib.dll.

Ultimately what I'm trying to accomplish is to create an API that takes in a template (DWT), adds a bunch of information from 2 different drawings (DWG) and saves the outcome to a network share.  However, I need to flesh out whether or not the Interop method is capable of doing this or if I need to switch to using the AutoCAD .NET API method.  The problem I ran into with that method is that I can't debug the code - something to do with "invalid application" error.

0 Likes
Message 4 of 4

Alfred.NESWADBA
Consultant
Consultant
Accepted solution

Hi,

 

>> I am using two DLL's in my C# .NET 

Then please ask in the forum of the first link I posted in my previous message. This forum here is for AutoCAD usage, not development based on AutoCAD API's

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes