DWG to IFC: Convert a 2D AutoCAD Plan into an IFC Model

Short answer: converting a DWG to IFC is easy when the DWG holds 3D objects and hard when it is a 2D floor plan, which is what most people have. For a plan, something has to read the lines as walls, doors and windows before there is anything to write into the IFC. Below are the three ways that work, and what the result should contain.
Why DWG to IFC converters return empty or flat files
IFC is the open BIM format maintained by buildingSMART (ISO 16739). An IFC file does not store lines; it stores objects: a building with storeys, walls with a thickness and a height, doors and windows placed in openings of those walls, slabs.
Most DWG to IFC converters translate geometry one to one. A 3D solid in the DWG becomes a shape in the IFC, which is fine for a steel part or a 3D model from AutoCAD. A floor plan is different: it is lines on a flat plane. Users on the FME community and the Autodesk forums describe the result well: an IFC with one block in it, or a file of a few kilobytes with no geometry at all.
Three ways to get an IFC model from a DWG
1. Model it in a BIM program, then export IFC
Link the DWG in Revit, ArchiCAD or BricsCAD BIM, model the walls, doors and windows over it, and export IFC. You get a complete IFC with every property you add, at the price of modeling each floor by hand. Our DWG to Revit guide shows the Revit steps.
2. Use a geometry converter (for 3D DWG)
Tools such as Aspose's online converter, FME, Datakit CrossManager and the ODA SDK translate a DWG to IFC directly. They fit best when your DWG already holds 3D solids or AEC objects, and you mainly need the geometry in IFC for coordination.
3. Read the floor plans automatically
ScanToBIM-CAD (thescantobim.com) is built for the 2D case. It reads the plans in your DWG or DXF: the scale from the drawing units, the walls from their two faces, the doors from their swings, the windows from the lines across the wall, one storey per plan. Then it writes the building as an IFC4 model, with a native Revit file and a DXF drawing set beside it.
What a good IFC from a DWG floor plan contains
- An IfcBuildingStorey for each floor plan, at its height, so plans and sections work in any BIM program.
- IfcWall objects with the thickness drawn in the plan and the height of their storey, not flat lines.
- IfcDoor and IfcWindow placed in IfcOpeningElement voids, so the walls are really cut.
- IfcSlab floors from the outline of the walls, and a roof slab on the top storey.
- Metres as units and the building near the origin, so it lines up when you link it.
Open the file in a free IFC viewer before you send it on: select a wall and look at its class and storey. If you see IfcBuildingElementProxy or a single object for the whole plan, the converter translated geometry but did not read the plan.
Comparison
| Model in a BIM program | Geometry converter | Plan reading (ScanToBIM-CAD) | |
|---|---|---|---|
| Best input | Any DWG | 3D DWG, AEC objects | 2D floor plans (DWG, DXF, PDF) |
| IFC classes | Full, as you model | Shapes as drawn | Storeys, walls, doors, windows, slabs |
| Your time | Hours per floor | Minutes | Minutes |
| Also gives | Your native model | The IFC | Revit .rvt and a DXF drawing set |
Convert your DWG to IFC
Your first project is free, IFC, Revit and DXF included. Upload a DWG or DXF floor plan; it usually takes about a minute.
Ready to Convert Your Point Cloud?
Upload your scan free and view it in your browser within minutes. We measure your building and show your price before you order, and it is charged only if we deliver the model. No card needed to upload.
Upload a Scan - FreeRelated Posts

DWG to Revit: Convert AutoCAD Floor Plans into a Revit Model
Linking a DWG into Revit gives you lines, not walls. Here is how to model over a linked AutoCAD plan, and how to get the Revit model made from the DWG automatically.

PDF to Revit: Turn a PDF Floor Plan into a Revit Model
Revit can show a PDF but cannot turn its lines into walls. Here are the three ways to get from a PDF floor plan to a Revit model, with the time each one takes.

Floor Plan to 3D Model: From a 2D Plan to a BIM Model
A 3D picture of a floor plan and a BIM model are different things. Here is how to turn a 2D plan into a model with storeys, walls, doors and windows that opens in Revit, ArchiCAD or any IFC viewer.