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

Get autocad instance in VB.NET

6 REPLIES 6
Reply
Message 1 of 7
Anonymous
571 Views, 6 Replies

Get autocad instance in VB.NET

Hi,
How to get autocad instance in vb.net

Autodesk.autocad.interop.common
Autodesk.Autocad.Interop
Autodesk.GIS

Thanks
6 REPLIES 6
Message 2 of 7
Anonymous
in reply to: Anonymous

System.Runtime.InteropServices.Marshal.GetActiveObject()
--
Bobby C. Jones
http://www.acadx.com

wrote in message news:5036273@discussion.autodesk.com...
Hi,
How to get autocad instance in vb.net

Autodesk.autocad.interop.common
Autodesk.Autocad.Interop
Autodesk.GIS

Thanks
Message 3 of 7
Anonymous
in reply to: Anonymous

It seems that the Autodesk.AutoCAD.Interop and Autodesk.AutoCAD.Interop.Common wont open with Ildasm.exe. What should i do? Is there an available wrappers there that i can copy and then use it as for my references.

Thanks
Message 4 of 7
Anonymous
in reply to: Anonymous

I'm not following you. I'm a bit slow today. Come to think of it, I'm a
bit slow every day...

Are you just trying to reference the acad COM libraries in a project and not
being able to do so? I'm not sure where ildasm fits into that.
--
Bobby C. Jones
http://www.acadx.com

wrote in message news:5037355@discussion.autodesk.com...
It seems that the Autodesk.AutoCAD.Interop and
Autodesk.AutoCAD.Interop.Common wont open with Ildasm.exe. What should i do?
Is there an available wrappers there that i can copy and then use it as for
my references.

Thanks
Message 5 of 7
Anonymous
in reply to: Anonymous

actually what im doing is to reference an acad .net libraries ( Autodesk.AutoCAD.Interop.Common and Autodesk.AutoCAD.Interop) to my project but the thing is i cant reference it. Im using VB.NET. How can I reference those libraries to my project. thanks. Message was edited by: freddie_pdr
Message 6 of 7
Anonymous
in reply to: Anonymous

Autodesk.AutoCAD.Interop.Common and Autodesk.AutoCAD.Interop are not acad
.net libraries - they are COM interops (i.e. ActiveX). Nevertheless, you can
use then in you .NET project. You'll find them in Add Reference.. dialog
under tab COM (AutoCAD 2006 Type Library and AutoCAD/ObjectDBX Common 16.0
Type Library).


/ Tomi


kirjoitti viestissä:5038497@discussion.autodesk.com...
actually what im doing is to reference an acad .net libraries (
Autodesk.AutoCAD.Interop.Common and Autodesk.AutoCAD.Interop) to my project
but the thing is i cant reference it. Im using VB.NET. How can I reference
those libraries to my project. thanks.

Message was edited by: freddie_pdr
Message 7 of 7
Anonymous
in reply to: Anonymous

Hey Tomi thank you very much it works perfectly now. i have a new problem, I already created a program where in I can search a particular parcel to database and my problem is i could not link that database to my parcel's Object Data in the Drawing so that i can zoom to that particular parcel automatically if i will pick a particular pin in my database (Grid). thanks

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