Is it better to use APIs or any other way is there for interfacing Autocad with VB i:e., by sending the required parameters from vb generating drawings in autocad, and showing the generated drawings in vb controls
Printable View
Is it better to use APIs or any other way is there for interfacing Autocad with VB i:e., by sending the required parameters from vb generating drawings in autocad, and showing the generated drawings in vb controls
See if these do anything for you.
http://www.codehound.com/vb/results/...=autocad&V=203
AutoCAD is an OLE Automation server just like Office. That means with VB you can set a reference to it and work with it pretty easily.
At the risk of sounding like a complete moron (and of course, that never happens :D ), whats AutoCAD? Is it some kind of Office product I don't know about?
One of the most popular Computer Aided Drafting program, used by Engineers, Architects, etc. US$2500 drawing program.
AutoCAD also has a VBA option. You can write your own scripts.
If you are interested in AutoCAD and VB check www.opendwg.org and www.vbdesign.net
DXF is a text file so you can create it in VB. The OpenDWG have a dxf to dwg converter.
I've done this a couple of times in the past