.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems with IAcadApplication and AcadApplication.

1 REPLY 1
Reply
Message 1 of 2
Anonymous
750 Views, 1 Reply

Problems with IAcadApplication and AcadApplication.

Hi, I got some Problems with the ACAD Application.

 

I want to get a running instance of ACAD. This is the code I use for it.   

 

PublicFunction ACAD_Running() As Autodesk.AutoCAD.Interop.AcadApplication

ACAD_Running = GetObject(,"AutoCAD.Application")

EndFunction

 

And it's working.

 

So I can read the caption, the preferences and so on.

 

But sometimes, vb.net told me:

 

Der öffentliche Member [...] für den Typ IAcadApplication wurde nicht gefunden.

The public Member [...] of Type IAcadApplication was not found.

 

[...] stands for different types of elements.

 

I see, there's a difference between IAcadApplication and AcadApplication. But I define ACAD_Running as AcadApplication, so where's the mistake I've made?

 

Best Regards

 

Passi

 

 

 

 

 

1 REPLY 1
Message 2 of 2
Virupaksha_aithal
in reply to: Anonymous

Hi,

 

It is tough to suggest what is causing issue at your end by the information give. Can you please provide us a sample (non confidential) using which we can try to simulate the issue at our end?



Virupaksha Aithal KM
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost