Rawax

DWG, DXF, LandXML and IFC: A Civil Engineer's Guide to File Interoperability

Rawax Engineering Team · Updated

Open the Rawax platform →

DWG is AutoCAD's native drawing format, DXF is the open text-based exchange version of the same drawing data, LandXML is an open standard for civil engineering data such as alignments, profiles and surfaces, and IFC is the open standard for building information models (BIM). Use DWG/DXF for drawings, LandXML to move road and surface design intelligence between civil tools, and IFC to move building models between BIM tools.

What each format actually contains

Format Owner / standard Contains Keeps engineering intelligence? Typical use
DWG Autodesk (proprietary, binary) Lines, polylines, text, blocks, layers, 3D faces Only as geometry (custom objects may be proxies) Native AutoCAD and Civil 3D drawings
DXF Autodesk (published, text) Same drawing entities as DWG Only as geometry Exchange between any CAD programs
LandXML Open industry schema Alignments, profiles, cross-sections, TIN surfaces, points, pipe networks Yes, for civil objects Civil 3D, OpenRoads, 12d, and other civil software
IFC (2x3 / 4) buildingSMART (ISO 16739) Walls, slabs, columns, openings, properties Yes, for building elements Revit, ArchiCAD and other BIM tools
CSV / TXT (PNEZD) Plain text Survey points: number, northing, easting, elevation, description Points only Total stations, GNSS, survey software

DWG vs DXF: what is the difference?

Both store the same kind of drawing data. DWG is compact and binary; DXF is readable text and documented, which is why almost every CAD and engineering program can read it. Converting DWG to DXF does not lose ordinary geometry, but specialised objects (for example Civil 3D corridors and surfaces) are often stored as proxy objects that other programs see only as flat geometry or not at all.

Keeping elevations (Z) when converting

Many "DWG to PDF" or "DWG viewer" workflows flatten the drawing. For civil work, elevation is the data. Check that:

If a drawing has lost its Z values, rebuild the surface from the original survey file instead.

LandXML: the bridge between civil tools

LandXML is the best way to move design intelligence rather than lines. An alignment exported as LandXML arrives in Civil 3D, OpenRoads or 12d as a real alignment with stations and curves, not as a polyline. The same applies to vertical profiles and TIN surfaces. For roads, a sensible workflow is:

  1. Design and compare options quickly in a fast, automated tool.
  2. Export alignments, profiles and surfaces to LandXML.
  3. Continue detailed design and documentation in the office's standard software if required.

IFC: moving buildings between BIM tools

IFC carries walls, slabs, columns, beams, openings and their properties. Use IFC4 where possible. Import from Revit or ArchiCAD to coordinate site and building, and export building models for review, clash detection or further development in BIM tools.

How Rawax handles files

Note: Civil 3D custom objects inside a DWG (such as corridors) are read as 2D geometry. To get them in 3D, export LandXML from Civil 3D and import that.

Related reading: AI road design and civil engineering automation.

FAQ

What is the difference between DWG and DXF?

DWG is AutoCAD's native binary format; DXF is a documented text format with the same drawing entities, designed for exchange between programs. Ordinary geometry converts between them without loss.

What is LandXML used for?

LandXML is an open format for civil engineering data such as alignments, profiles, cross-sections, TIN surfaces, survey points and pipe networks. It lets civil design software exchange real design objects instead of plain lines.

Can I open a DWG file without AutoCAD?

Yes. Several tools can read DWG files. Rawax opens DWG files in the browser through its server and turns them into editable elements with elevations.

Do Civil 3D corridors and surfaces survive in DWG?

Other programs usually see Civil 3D custom objects as flat proxy geometry. To transfer alignments and surfaces in 3D, export LandXML from Civil 3D.

What is IFC in civil engineering?

IFC (Industry Foundation Classes, ISO 16739) is the open BIM standard for building elements and their properties. In civil projects it is used to exchange buildings and structures between BIM tools such as Revit and ArchiCAD.

Rawax is a browser-based civil engineering platform that combines survey, roads, architecture, structure, MEP, quantities and project management in one model, with an AI assistant that works in English and Arabic.

Open the Rawax platform