Skip to content

DXF file at a glance

Full name

Drawing Exchange Format

Developer

Autodesk

Extension

.dxf

Encoding

Mostly ASCII text, binary variant

Carries

2D and 3D entities, layers, blocks and annotations

3D InterOp
Read Write

Writes drawing sheets, AC1012 to AC1032

  • Building software that needs to read or write DXF?

    3D InterOp is an SDK that lets your application import and export DXF alongside 30+ CAD and BIM formats.
Content Examples

2D geometry

Lines, polylines, arcs, circles, ellipses, splines and points

3D geometry

3D solids, regions, surfaces, 3D faces and meshes

Blocks

Reusable groups of entities placed as block references

Layers and properties

Layer names and states, colors, line types and weights

Annotations

Text, dimensions, hatches and leaders

Drawing settings

Units, coordinate systems, model space and paper space

  • Drawing sheet

    Written to paper space

  • Polyline wires

    Written as polylines

  • Lines, circles, ellipses

    Written as matching DXF entities

  • B-spline wires

    Written as splines

  • Point sets

    Written as points

  • Notes

    Written as single-line text

Feature DXF DWG

Purpose

Exchange between applications

Native AutoCAD storage

Encoding

Mostly ASCII text

Binary

Specification

Published by Autodesk

Proprietary

File size

Larger

More compact

Content

Same drawing content as DWG

Same drawing content as DXF

  • Spatial doesn’t provide a DXF viewer or converter for end users. 3D InterOp is for software developers who want their own application to read and write DXF.
  • Version differences

    Each AutoCAD release adds entities to DXF. Older readers may skip or misread data written by newer versions.

  • Large text files

    ASCII DXF files can be much larger than the equivalent DWG, which slows down import of complex drawings.

  • Units and scale

    Check the units declared in the file. A drawing interpreted in the wrong units arrives at the wrong size.

  • Expecting 3D from a 2D drawing

    A DXF file that only contains 2D drafting gives no 3D geometry on import.

  • DWG

    AutoCAD drawings
    DWG
  • SLDDRW

    SOLIDWORKS drawing file
    SLDDRW
  • CATDrawing

    CATIA V5 2D drawings
    CATDrawing
  • IFC

    Open BIM exchange standard
    IFC
  • STEP (STP)

    ISO 10303 product data exchange
    STEP (STP)
  • Industry · BIM / AEC

    3D InterOp for AEC and BIM applications

    Support for major AEC, BIM and plant design formats, so your application can cover a construction project’s entire lifecycle.
  • Add DXF import and export to your software

    Evaluate 3D InterOp on your own models with support from Spatial’s engineers.

Learn Valuable Insights on our Blog

9 Min Read
Insider
Meet Frédéric Jacqmin, VP of Worldwide Business Development at Spatial, bridging civil engineering roots and 14 years at...
3 Min Read
Manufacturing & Fabrication
We interviewed a Spatial client: COSCOM at EMO Hannover 2025. Thank you for your time Knut Mersch!
3 Min Read
Manufacturing & Fabrication
We interviewed a Spatial client: GO2cam at EMO Hannover 2025. Thank you for your time Eric Gerval!
12 Min Read
Insider
Meet Shad Reeves, Software Engineering Director at Spatial, leading a 42-person global R&D team behind one of the mo...
3 Min Read
Manufacturing & Fabrication
We interviewed a Spatial client: TopSolid at EMO Hannover 2025. Thank you for your time Patrice Tiberi!
2 Min Read
3D Modeling
Engineers spend over half their time prepping CAD data before the real work begins. Here's how digital continuity from d...