The library will never be able to read some entities like REGIONs, SURFACEs, and 3DSOLIDs, since they depend on undocumented proprietary data. Polyline (Polyline2D, Polyline3D, PolyfaceMesh, and PolygonMesh)Īll DXF objects may contain extended data information.ĪutoCad Table entities will be imported as Inserts (block references).īoth simple and complex line types are supported.Insert (block references and attributes, dynamic blocks are not supported).Dimensions (aligned, linear, radial, diametric, 3 point angular, 2 line angular, and ordinate).See changelog.txt or the wiki page for information on the latest changes. The solution file is still usable by Visual Studio 2019 but it does not support NET 6.0. Multitarget project, predefined frameworks for Net Framework 4.5, Net Standard 2.1, Net Core 3.1, NET 5.0, and NET 6.0.Īdditionally the Net Standard 2.1 build requires a reference to the external library "". Well, at the moment they are just tests for the work in progress. If (dxfVersion < DxfVersion.AutoCad2000) return ĭxfDocument loaded = DxfDocument.Load(file) netDxf is only compatible with AutoCad2000 and higher DXF versions this check is optional but recommended before loading a DXF fileĭxfVersion dxfVersion = DxfDocument.CheckDxfFileVersion(file) Line entity = new Line(new Vector2(5, 5), new Vector2(10, 5)) create a new document, by default it will create an AutoCad2000 DXF version If you need more information, you can find the official DXF documentation here. The DxfDocument will take care of that every time a new item is added. The library is easy to use and I tried to keep the procedures as straightforward as possible, for example you will not need to fill up the table section with layers, styles or line type definitions. It supports AutoCad2000, AutoCad2004, AutoCad2007, AutoCad2010, AutoCad2013, and AutoCad2018 DXF database versions, in both text and binary format. net library programmed in C# to read and write AutoCAD DXF files. It can be used to produce a wide range of CAD drawings, such as mechanical and architectural designs. It provides tools to create, view, and modify drawings, and offers features such as layers, blocks, dimensions, and more. NetDxf Copyright(C) 2009-2022 Daniel Carvajal, licensed under MIT License Description DXF Editor is a software application that enables users to create and edit Drawing Exchange Format (DXF) files.
0 Comments
Leave a Reply. |