Are there any libraries (preferably open-source) for parsing AutoCAD files (DWG or DXF)?
The Ivan CAD Library works very well with DWG R15, R18, R21 and R24. I found it at www.ivancad.com