admin管理员组

文章数量:1574075

Is there any open-source Java or JavaScript library available to parse .dwg files and get the objects from it.

I would like to extract data from a table of text for my project.

It seems that the AutoCAD developer community prefers .NET and C/C++ over JAVA.

The only free alternative I found is by converting .dwg to .dxf first and using the Kabeja lib to read from it.

解决方案

Credits to all who have answered, I've tested all your proposition and here's what I've found , as of 2015:

There is currently no free AND reliable solution to read and manipulate .dwg and .dxf files. This applies especially to latest versions of AutoCAD, ex : Autocad 2010, Autocad 2013 etc, RF 2013, RF 2010.

Reliable (and expensive) solutions would be Teigha by ODA (2000$ a year) and RealDWG in C# by Autocad (5000$ a year)...

Cheaper alternatives a

本文标签: 图纸文件JavacadDWG