Is there any way to create DXF files from within VB?

I am developing some general purpose engineering programs with Visual Basic and they make heavy use of GDI+ for printed output. Nevertheless, the capability to export graphical data in DXF format would be a very welcome addition. Is there any resource, books or white papers, where I can learn about DXF creation

Answer this question

Is there any way to create DXF files from within VB?

  • Margaret H

    A simple web search will reveal there are existing components to handle DXF format

    http://www.google.com/search hl=en&q=vb.net+%2B+dxf

    I'd check these out before trying to write my own.


  • Leon Mayne

    OK. Agreed. It would be no big problem for me to purchase a 3rd party tool if I had to. Can somebody tell me if such a tool exists Remember, what I need is to be able to export in DXF format some engineering drawings already created with GDI+ from Visual Basic Express.
  • Reta

    I think you have a good few answers here to realize that working with DXF is probably going to cost you something and is not a really simple task to achieve in a few lines of code.


  • BLiTZWiNG

    http://www.google.com/search sourceid=navclient&ie=UTF-8&rls=GGLD,GGLD:2005-07,GGLD:en&q=dxf+file+specifications

    DXF - Autodesk Drawing eXchange Format

    Users are required to pay $4000US for a license to AutoCAD in to obtain the specs for this newest release of DXF file format. The official specification for ...
    www.faqs.org/faqs/graphics/ fileformats-faq/part3/section-45.html - 5k -


  • Jehan Badshah

    There's an industry group that is trying to make it easy for 3rd party vendors to generate both .dxf and .dwg files. You can subscribe to them as an "associate member" to get access to their software. They'll hassle you a bit about signing on the dotted line but as long as you comply, you'll get the software for free. That said, they made their libraries/ActiveX components a lot harder to use in the past few years. Still, if you can grok it, it is pretty solid in my experience...




  • Michael Tripp

    Before I did anything with AutoCAD, I'd look at buying a seat of SolidWorks. It's half the price of AutoCAD, .NET compliant, easy to automate, and can save files in any number of formats.

    Now, it may not help with your original goal - you may have to redo the drawing using the SolidWorks API, but this makes for an extremely robust automated drawing engine. We use an automated process for custom part quotes on several of our product families. We're also building a Bot to serve realtime print images in any desired format.

    Any VB developer whose working with CAD drawings, especially when it comes to automating the design process, should find SolidWorks to be an absolute blessing.

    Sorry that doesn't directly answer your question, but hope it helps anyway!



  • Is there any way to create DXF files from within VB?