I want just display autocad files in winform.How to do this?
解决方案This is not easy. The display would not be too difficult; this would be a pretty usual technique of rendering graphics based on some data model of graphics. If you ever come to this and face any problems, I would be able to help it quickly.
The real problem is parsing DWG files. Basically, you can either use proprietary Autodesk RealDWG products of other companies who tried to reverse engineer the format. I personally used the product of Open Design Alliance (which is written in pure C++ in such a tight style which makes it pretty hard to export methods and P/Invoke them in .NET) and one more which I don''t remember right now, would need to look at my old records. It wasn''t easy. The products were expensive enough, had certain problem with most difficult problems were related to performance. Dealing