Between two design stages a lot changes on a facade: bays are added, spandrels get taller, vents move. For change orders and cost tracking, one question then matters: what is new, what has been removed, and how large is the quantity difference? To answer it, I wrote a small tool with Python and IfcOpenShell that compares two IFC files.
Ready-made tools for this do exist: several BIM applications and model checkers offer model comparisons, and for Python there is IfcDiff from the IfcOpenShell ecosystem. Many of them rely on stable IDs or on a licence for the respective application. What I wanted was a lean, application-independent way to get the quantity delta.
Comparing by properties instead of IDs
Many comparisons match elements by their GlobalId. That only works if the authoring application keeps the IDs stable. Instead, the tool builds a fingerprint for each element from its class, type, storey, area, length and dimensions, and counts how often each fingerprint occurs in model A and model B. The same count means unchanged, whatever IDs the elements carry.
Choosing the files
The user interface runs in the browser, but locally: the files never leave your computer. You start it with a double-click on Windows and macOS, or from the command line. Since version 1.5 the app, the Excel and BCF exports and the command line are available in English and German.
Classes, compared properties and precision
You are free to choose which IFC classes are compared and which properties make two elements “the same”, down to property and quantity sets. The precision can be set from 1 to 50 mm (areas 0.001 to 1 m²).
For curtain walls, the parts are compared (mullions, transoms, glass). Parts without a storey of their own inherit the storey of the curtain wall, and if IfcCurtainWall is selected as well, the app warns about double counting. If areas or lengths are missing in the IFC, the tool derives them from the geometry and points this out.
Result and Excel export
The result shows key figures, every change per fingerprint and a summary by type. The Excel file also contains the complete element lists of both models (sheet “Elements”), notes on data quality and the settings used.
The list of changes names each fingerprint separately, for example “Riegel 50×150, 1.45 m, Geschoss 1: 12 → 0” and “Riegel 50×150, 1.15 m, Geschoss 1: 0 → 14” (the test models use German names: Riegel = transom, Geschoss = storey). A change therefore shows up as “this many fewer of the old type, this many more of the new type”. Via the “Elements” sheet, every row can be traced back to the individual building element with its GlobalId.
3D view
Below the result, a 3D view shows the changes directly in the model: model A, model B or both overlaid. Clicking a row of the list of changes colours only its elements and zooms to them. If the row has no elements in the model shown, the app says so and offers the matching model.
![]() |
| One row selected (new spandrel panels on storey 1): only its elements are highlighted |
BCF for your own BIM application
In addition, the tool writes a BCF file (BCF 2.1, an open standard by buildingSMART) with one topic per change. It can be opened in BCF-capable viewers and BIM applications, e.g. Bonsai, Revit (with a BCF add-in), Archicad, Solibri or BIMcollab Zoom. The affected elements are selected, coloured (A red, B green) and zoomed to. This makes it easy to follow up on the changes in other applications. I tested this with Bonsai BIM.
![]() |
| A change highlighted in Bonsai BIM via the BCF file |
Tested with two test models
For trying it out I used two synthetic stick-system curtain walls. Model B has a third storey, a narrower grid (7 × 1.20 m instead of 6 × 1.50 m), a taller spandrel at the top and differently placed vents. Result: 62 → 108 elements, only 14 unchanged, facade area 65.16 → 91.26 m² (+26.10 m², including mullions and transoms).
![]() |
| Model A and model B of the test facade |
In the two test models the differences are easy to see. With more complex facades or less obvious changes, however, a comparison takes far more effort. Using a tool like this can therefore save several hours!
Because the comparison criteria are freely selectable, the app can also be used for other trades beyond facades.
Limitations
- So far only checked with synthetic test models.
- Individual elements are not matched to each other; the comparison is based on counts per fingerprint.
- Moves without a change in quantity are only detected if the position is compared as well.
- Dimensions derived from the geometry are only accurate for simple, prismatic parts.
Code and test models: GitHub. If you need this kind of analysis for your project, you can reach me at fassadenblog@gmail.com.








No comments:
Post a Comment