Fully Compatible with .NET 8.0/10.0

DXFReader.NET is a .NET component that allows developers to view, manipulate, analyze, edit, and plot drawings directly from AutoCAD DXF files.

DXF stands for Drawing eXchange Format. It is a widely adopted CAD file format designed to facilitate the exchange of drawing data between different CAD and engineering applications. DXF import and export are supported by a wide range of software products, including CAD/CAM systems, engineering applications, desktop publishing software, and illustration tools. Over the years, DXF has become a de facto standard for exchanging CAD drawing data between different applications and platforms.

With DXFReader.NET, developers can access virtually all drawing information and entities contained in a DXF file and easily perform data manipulation, processing, and analysis directly within their .NET applications.

Features

The following are some of the major features provided by DXFReader.NET Component:

  • An ideal .NET control for developing engineering, surveying, CNC, CAD/CAM, and industrial applications.
  • DXFReader.NET provides a familiar, intuitive, and easy-to-use programming interface, especially for CAD developers. In many cases, complex CAD operations can be performed with only a few lines of code.
  • Fully compliant with Autodesk DXF specifications, from Release 10 through AutoCAD 2018, for displaying and manipulating the following entities: 3DFACE, ARC, ATTDEF, ATTRIB, CIRCLE, DIMENSION, ELLIPSE, HATCH, HELIX, IMAGE, INSERT, LINE, LWPOLYLINE, MESH, MLINE, OLEFRAME, OLE2FRAME, MTEXT, POINT, POLYLINE (including bulged polylines, polygon meshes, and polyface meshes), SOLID, RAY, REGION, SPLINE, TABLE, TEXT with TrueType fonts, TOLERANCE, TRACE, UNDERLAY (including PDF), WIPEOUT, XLINE, and many others.
  • Full support for SHX font files.
  • Display functions including Pan and several Zoom modes (Extents, Limits, In, Out, Previous, Window, etc.).
  • Full programmatic control over drawing entities and table entries through collections of objects representing the elements contained in the drawing. With only a few lines of code, developers can retrieve, analyze, modify, add, or remove drawing information.
    For example, the following C# code retrieves the number of LINE entities in a drawing and calculates their total length:

    C#

    using System;
    using DXFReaderNET;
    using DXFReaderNET.Entities;

    namespace DXFReaderNETConsoleApp
    {
        class Program
        {
            static void Main(string[] args)
            {
                DXFReaderNETControl myDXF = new DXFReaderNETControl();
                myDXF.ReadDXF(@"../../drawing.dxf");
                double total_lines_lenght = 0;
                foreach (Line line in myDXF.DXF.Lines)
                {
                    total_lines_length += line.Length;
                }
                Console.WriteLine("# of lines: " + myDXF.DXF.Lines.Count.ToString());
                Console.WriteLine("total length of lines: " + total_lines_length.ToString());
                Console.ReadKey();

            }
        }
    }

    VB

    Imports DXFReaderNET
    Imports DXFReaderNET.Entities

    Module Module1

        Sub Main()

            Dim myDXF As New DXFReaderNETControl
            myDXF.ReadDXF("../../drawing.dxf")

            Dim total_lines_lenght As Double = 0

            For Each line As Line In myDXF.DXF.Lines
                total_lines_lenght += line.Lenght
            Next

            Console.WriteLine("# of lines: " + myDXF.DXF.Lines.Count.ToString())
            Console.WriteLine("total lenght of lines: " + total_lines_lenght.ToString())
            Console.ReadKey()

        End Sub

    End Module

 

  • Full control over blocks, dimensions, attributes, colors, and dimension styles, including support for the AutoCAD Color Index (ACI), a built-in default color palette dialog, and a dimension styles dialog.
  • Full access to DXF HEADER variables, allowing developers to retrieve and/or modify information such as drawing units, attribute modes, dimensioning parameters, extents, limits, and many other drawing settings.
  • Full support for raster images, including different scaling options for combining raster content with vector drawings.
  • Full 3D visualization support. 
  • High-resolution printing with several printing modes. Applications can retrieve and configure scaling, margins, origin, rendering, rotation, aspect ratio, and pen assignments.
  • Save complete DXF drawings in different DXF versions. A DXF file can be read and then saved using an earlier supported DXF version. Individual DXF blocks and raster representations of drawings can also be saved.
  • Redlining functions allow information, annotations, and graphical elements to be added to the displayed drawing without modifying the original drawing database.
  • Import support for several industry-standard CAD, BIM, and manufacturing formats: OBJ for polygonal 3D mesh geometry; STEP for accurate 3D CAD models, surfaces, and solid geometry; IFC for BIM (Building Information Modeling) models, building elements, and associated data; and NC1 for CNC processing of structural steel components. Drawing geometry can also be exported to SVG (Scalable Vector Graphics).
  • Drawing editing functions including Chamfer, Contour, Extend, Fillet, Join, Offset, Trim, and many others.
  • Visualization of the grid, axes, drawing limits, and base point.
  • Integrated pick engine that allows users to select drawing entities simply by clicking on them.
  • Comprehensive HTML Help and online documentation.
  • Fully compatible with Microsoft Visual Studio 2017 through 2026 and other .NET development environments.

Develop Custom CAD/CAM Solutions

DXFReader.NET is a powerful .NET component designed to help developers create custom solutions for the CAD (Computer-Aided Design) and CAM (Computer-Aided Manufacturing) industries.

With its ability to read, display, analyze, edit, manipulate, and plot DXF files, DXFReader.NET provides the tools required to develop specialized engineering and manufacturing software tailored to specific application requirements.

With DXFReader.NET, you can:

✔ Develop custom CAD/CAM applications that read, analyze, display, and modify DXF drawings.

✔ Extract and manipulate geometric data for CNC machining, laser cutting, plasma cutting, nesting, manufacturing analysis, and other automated production processes.

✔ Generate and process geometric information required for toolpaths and other manufacturing operations.

✔ Automate CAD/CAM workflows by integrating drawing data directly into engineering and manufacturing processes.

✔ Create industry-specific solutions, including nesting applications, cutting optimization systems, drawing analysis tools, CNC-related applications, and automated manufacturing software.

By integrating DXFReader.NET into your applications, you gain extensive programmatic control over DXF drawing data and can implement specialized functionality that may not be available in standard CAD/CAM software.

Whether you need to streamline production, automate drawing processing, integrate CAD data into an existing application, or develop an entirely new engineering solution, DXFReader.NET provides the flexibility and tools required to build tailor-made CAD/CAM applications for your specific requirements.