Reading .DXF files [closed]

2020-01-29 06:43发布

Does anyone know of source code, ideally in C# or similar, for reading .DXF files (as used by AutoCAD etc)? If not code, then tables showing the various codes (elements / blocks / etc) and their meanings?

I am writing a reader myself, and have dead tree documentation detailing the format, but am trying to avoid writing e.g. a converter from each of the 255 ACI colours to RGB... Thanks!

标签: c# autocad dxf
8条回答
干净又极端
2楼-- · 2020-01-29 07:23

You may want to try the Open Design Alliance. It's a while since I looked at it myself, but they had a load of C libraries for dealing with various AutoCAD files.

查看更多
爷、活的狠高调
3楼-- · 2020-01-29 07:31

Here is a link to a CodeProject dxf reader; it seems very limited (and not particularly well done) though.

查看更多
登录 后发表回答