I want generate an Autocad design from the values which are entered in the front end of VB form. If you have any codes for this, please send it to me. [email protected]
Printable View
I want generate an Autocad design from the values which are entered in the front end of VB form. If you have any codes for this, please send it to me. [email protected]
Have a look at wotsit.org and look for the formats for DWG and DXF (the last one is actually a text format, which might be easier to start with).
I don't think it's likely that anyone will give you any code, since it's quite a lot of work to write convertors for CAD and GIS applications.
Take a look at this post.
http://www.vbforums.com/showthread.p...hlight=AutoCAD
AutoCAD is a pretty heavy programme. It now comes with VBA which can be used to programme it or you might try using the 'sendkeys' command from VB.
Alternatively you could create a dxf file (a simple text file) from VB which will display in AuotCAD (and other cad programmes).