Missing holes and 300 MB files: geometry problems you can diagnose
The client's viewer shows a window in a solid wall, and the furniture supplier is about to deliver two hundred more chairs written the way one of these is. Both problems are visible in the file, and both are fixed in the export.
The window with no hole
The client has opened the furnished house, both storeys of it, in their own viewer, and they’ve sent a screenshot. Window E1, in the east wall, is drawn: frame, glass, the lot. But the wall around it is solid. You can’t see through the window, and the quantity take-off counts the east wall as if it had no opening at all. Is the window missing its opening?
These are the relationships of the ground floor's four windows. An IFCRELVOIDSELEMENT names a wall, then the opening it cuts. An IFCRELFILLSELEMENT names an opening, then the window in it. One window is drawn in a solid wall. Which line belongs to it?
Select the line with the bug.
#337=IFCRELVOIDSELEMENT('2LNE7$dnf5Sgh5B898MbiS', #5, $, $, #43, #336); #352=IFCRELFILLSELEMENT('2kuWyW4ovDbQ7D4Llt8Wmq', #5, $, $, #336, #351); #367=IFCRELVOIDSELEMENT('05GPi9YlL40ACDFnnDuZcc', #5, $, $, #43, #366); #382=IFCRELFILLSELEMENT('2DE5kapvDEgxH41PphMDyY', #5, $, $, #366, #381); #412=IFCRELFILLSELEMENT('39Dqis4P1B4gklM4H714P3', #5, $, $, #396, #411); #427=IFCRELVOIDSELEMENT('0sXZxwNyD1$fnf0MR9_Kcp', #5, $, $, #89, #426); #442=IFCRELFILLSELEMENT('1QUQLNL192bPlIiU6rZihg', #5, $, $, #426, #441);
Why is it wrong?
Answer
Line 5. Why: No IfcRelVoidsElement names its opening, so no wall is told to lose it
#412 says Window E1 (#411) fills opening #396. The other three openings, #336, #366 and #426, each have an IFCRELVOIDSELEMENT that cuts them out of a wall. Nothing names #396, so W-02 is drawn whole.
Needs JavaScript to check your answer. The answer is below.
. It’s an IFCWINDOW like the other nine. Nothing in its row is unusual. So look the other way, as in chapter 1: the selection card’s Pointed at by line, then List them. One of the rows that point at the window is , an IFCRELFILLSELEMENT.
That relationship says this window fills that opening. Its fifth attribute, RelatingOpeningElement, is #396; its sixth, RelatedBuildingElement, is the window. : an IFCOPENINGELEMENT named 'Window E1 Opening'. The opening exists. List what points at it, and you get one row: the relationship you came from.
Now do the same for a window that works. in the south wall, follow its IFCRELFILLSELEMENT to its opening #336, and list what points at that:
Window S1’s opening has a second relationship pointing at it, #337, an IFCRELVOIDSELEMENT. Its RelatingBuildingElement is #43, wall W-01, and its RelatedOpeningElement is the opening. That’s the statement that tells W-01 to lose a window-sized piece. Window E1’s opening has nothing like it.
The figure’s chips agree. Select #336 and its chip reads Opening in W-01. Select #396 and it reads Opening · cuts nothing: no IfcRelVoidsElement points here.
So the window is there, the opening is there, and the window fills it. The relationship that cuts the hole is missing. A viewer subtracts an opening from a wall only where an IfcRelVoidsElement says so.
In real projects, a void usually goes missing for one of these reasons:
- The export settings. Some exporters (Archicad, for one) have options for how openings are written, and some combinations leave the relationships out.
- The window and the wall live in different files. A façade model’s window can’t void an architecture model’s wall: IFC relationships don’t cross files.
- A tool “cleaned” the file and dropped relationships it didn’t understand.
- The window was placed as a free object, not hosted in the wall, so the authoring tool never cut anything.
A quick test in any viewer, before you open the text: hide the window. If the wall behind it is still solid, no hole was cut. That has two possible causes: no IfcRelVoidsElement, as here, or a subtraction the viewer tried and failed, which happens with complicated or broken opening shapes. The text tells you which: look for the relationship. If there is a hole, the problem is somewhere else, perhaps in how the window itself is drawn.
The reverse holds too. This house exports whole walls and separate openings. Another export may write walls with the holes already cut into their shape. A visible hole alone doesn’t prove that an IfcOpeningElement and its relationships were delivered. Check the representation and the opening data you need before you report a fault.
The client wants the window fixed before Friday. What do you do next?
Pick one. Then you see what happens with each option.
What happens with each option:
- The viewer cuts the hole, until the next export overwrites your edit. And you've changed a model someone else is responsible for.
- The fix lands where the model is made, so every later export keeps it. The GlobalId names the window in any tool; whether it survives the re-export is chapter 7.
- No viewer cuts a hole the file doesn't ask for, and the quantity take-off stays wrong as well.
- One missing relationship doesn't make the model useless. Returning it costs everyone a round; one issue fixes it.
What to tell the author: the window has lost its void relationship, so check how it’s hosted and how openings are exported. The rest of this chapter explains why a viewer can draw a wall without its hole: where IFC keeps a wall’s shape, and how that shape gets a hole cut into it.
Which statement is missing for Window E1's opening?
#396 exists, and #412 says Window E1 fills it. But no IfcRelVoidsElement names it, so wall W-02 is never told to lose it. Compare #337, which cuts Window S1's opening out of W-01.#396 exists, and #412 says Window E1 fills it. But no IfcRelVoidsElement names it, so wall W-02 is never told to lose it. Compare #337, which cuts Window S1's opening out of W-01.Answer
IfcRelVoidsElement · #396 exists, and #412 says Window E1 fills it. But no IfcRelVoidsElement names it, so wall W-02 is never told to lose it. Compare #337, which cuts Window S1's opening out of W-01.
Needs JavaScript to check your answer. The answer is below.
Cause. The window and its opening were exported, and the window fills the opening; only the relationship that cuts the hole is missing. When the opening and the fill are there and only the void is gone, the file was usually post-processed (merged, filtered, “cleaned”), or the window was hosted in another element. When the opening is missing too, the window wasn’t hosted in this wall, lives in another model, or the export left openings out.
In your tool (vendor docs, as of Nov 2026):
- Revit 2026: the IFC export settings have no option for openings; the exporter cuts a hole for a window that is hosted in its wall. A window in a linked model goes to another file with Linked Files = Export as separate IFCs (Additional Content tab), and relationships don’t cross files. Revit help
- Archicad 29: with Export gross geometry of elements (Export holes separately) in the Geometry Conversion settings, walls are written whole and the holes as openings, and the openings are only exported when IfcOpeningElement is ticked in the Model Filter for IFC Export. Archicad help
Ask for it. A re-export with the window hosted in its wall, in the same model, and with openings in the export. If the same delivery is too heavy (§4), ask in the same message for coarser faceting (Revit: Level of detail for some element geometry; Archicad: Parametric (Extruded/revolved)) and for type geometry written once (Archicad: Export Geometry of IFC Type Products), before anyone asks for a new viewer.
Continue with Pro
You’ve read the opening and section 1, free. The rest of this chapter, its exercise and the tutor are part of Pro.
What’s in the rest of this chapter
- §2 One element, several shapes
- §3 A profile, pushed
- §4 When a shape isn’t a sweep
- §5 One chair shape, many chairs
- §6 Holes and cuts
- ✎ Exercise: 4 tasks on your own copy of the model, checked instantly
- ? A tutor that knows this chapter and asks you questions instead of giving answers
Chapter 1 is free in full. All 8 chapters
Already have Pro?
We’ll email you a sign-in link that brings you back here.
