3

I'm developing application which needs to get details from AutoCAD DXF file. Is there any specific API which support this task. Actually in my project I need to get building structures to my java application and I need to add some more details to those graphs So can some one provide your experience about this ?

SL_User
  • 1,934
  • 5
  • 24
  • 45

3 Answers3

3

A quick Google search on java dxf yields the ycad library. I have never used it, I don't know how well it works.

Barend
  • 17,296
  • 2
  • 61
  • 80
0

http://caff.de/dxfviewer/ supports reading DXF files.

Wout
  • 624
  • 5
  • 14
0

The reading of an AutoCAD DXF file is not a trivial task. The contained entities can be affected by the coordinate systems, the blocks can be hierarchycal, etc. When I wrote my DXF importer, I read the file sequentialy, built a DXF DOM and then converted it into my own format. You can find the document specification here:

http://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf

http://www.autodesk.com/techpubs/autocad/acadr14/dxf/dxf_reference.htm

The Bitman
  • 1,279
  • 1
  • 11
  • 25