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

converting app

2 REPLIES 2
Reply
Message 1 of 3
moabiker31
260 Views, 2 Replies

converting app

We’re converting a VB 6 application to VB.net. The app returns blocks and layers from AutoCAD versions 2002-2006 and sends commands to Autocad. The files are opened by starting an acadapp and then using dbx documents. I’m new to AutoCAD (I didn’t write the existing vb6 app) so I’ve been reading this discussion forum to try and get an understanding of how to get started. I have been able to open drawings to retrieve block and layer information using interops, but I question if that’s the best way. I’ve also read a little about getting the information from the database, is that a better? Now that the app is being re-written, what is the best way to do it in VB.net, using interops, database, or another way? I’ve searched for books too but haven’t found one on creating a vb.net app that communicates with AutoCAD, does anyone have any suggestions? Thanks.
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: moabiker31

Considering your need to support versions older than 2005, COM Interop is
your only choice for VB.NET. AutoCAD 2005 was the first version sporting a
.NET API.
--
Bobby C. Jones
http://www.acadx.com


wrote in message news:5107730@discussion.autodesk.com...
We're converting a VB 6 application to VB.net. The app returns blocks and
layers from AutoCAD versions 2002-2006 and sends commands to Autocad. The
files are opened by starting an acadapp and then using dbx documents. I'm
new to AutoCAD (I didn't write the existing vb6 app) so I've been reading
this discussion forum to try and get an understanding of how to get started.
I have been able to open drawings to retrieve block and layer information
using interops, but I question if that's the best way. I've also read a
little about getting the information from the database, is that a better?
Now that the app is being re-written, what is the best way to do it in
VB.net, using interops, database, or another way? I've searched for books
too but haven't found one on creating a vb.net app that communicates with
AutoCAD, does anyone have any suggestions? Thanks.
Message 3 of 3
moabiker31
in reply to: moabiker31

Thanks for the quick reply Bobby.

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