How to compare two IFC revisions for a change order
When a new issue of a model arrives, the estimator's question is what changed in quantities, priced, and the coordinator's is which elements changed. Comparing two IFC files by GlobalId alone answers both badly: an export that renews an element's GlobalId makes it look removed and re-added, and a Revit wall exported as parts in one issue and whole in the next looks like a demolition. A useful comparison matches elements by GlobalId, then by Revit's element id in the Tag, then by place and volume, and then reports the change on every bill-of-quantities line.
Open the free IFC takeoff (or press Compare two revisions of it on it)
Steps
- Open the takeoff page and choose the later revision as the model.
- Under Compare with an earlier revision, choose the earlier one in Earlier revision (.ifc).
- Type your rates on the bill of quantities if you want the change priced; the same rates price both revisions.
- Press Download the change in quantities (CSV) for the change on every line (count, m3, m2, m, kg and amount, before and after), and Download every changed element (CSV) for each element added, removed, changed, moved or resized, with what changed.
A worked example
The page's sample office has a second revision. Between them, 7 elements become 7: 3 unchanged, 3 changed, 1 added, 1 removed, and 1 matched under a new GlobalId by its Tag. The change in quantities by class and type:
| Class | Count | Volume m3 | Area m2 | Length m |
|---|---|---|---|---|
| IfcColumn | 1 → 2 | +0.212058 | 0 | +3 |
| IfcSlab | 1 → 1 | +1 | 0 | 0 |
| IfcWall, Basic Wall 200 | 4 → 3 | −2.084 | −10.42 | −4 |
Behind those lines, element by element:
- Wall A changed: volume −0.084 m3 and side area −0.42 m2 (its door opening widened from 1.0 to 1.2 m).
- Wall B removed: 2 m3, 10 m2, 4 m.
- The floor slab changed: 5 × 4 × 0.25 m to 5 × 4 × 0.3 m, +1 m3.
- The beam moved 1 m with the same quantities, so it changes no line.
- One column was added, and the existing column came back under a new GlobalId. Matched by its Tag, it is reported as the same element, not as one removed and two added.
On five real Revit exports of one house, a GlobalId-only comparison listed 190 element records as added or removed that were the same element under a new GlobalId, or a host wall switched to its parts; this comparison pairs them. A model re-serialised with no edit gives 0 changes. When a designer deletes a window and places another in the same opening, the new one has a new GlobalId and a new element id; the comparison lists it as replaced in place, with the type it replaced, instead of one window removed and one added. On a two-day step of a second house, 22 of the 25 window records a plain comparison listed as removed or added were 11 windows re-placed or swapped for another size.
A storey renamed between issues (the same storey, a new name) is listed once as storey renamed, not as a change to every element on it. On a BlenderBIM model of a real house, the issue that renamed its storey had listed all 28 matched elements as changed; 4 of them had nothing else. A type renamed the same way is listed too, but each of its elements is still shown as a type change, because a type's name is its specification: Revit keeps the type's id when a glulam beam's type becomes a steel section.
Rooms are compared too, because a brief changes them as often as walls: a room added or removed, a property on it added or given another value (its use, a finish, a booking note), or its floor area, net wall area or count of doors and windows changed, each listed as a room line in the change list and the CSV. Tested on 20 edits made through Archicad 27, each with a written list of what it had to add: every one of the 87 listed rooms, doors, windows and walls was reported added, and every one of the 42 listed room notes was reported as a changed room. The only other changes it listed were 14 existing rooms whose walls gained the new door or window, which is what the finishes estimate needs to know.
On the command line
node cli.mjs new.ifc --compare old.ifc --changes changes.csv # line changes to stdout, elements to changes.csv
Questions
How do I compare two IFC files?
Take off the later revision and drop the earlier one under Compare with an earlier revision. You get the change on every bill-of-quantities line and a list of every element added, removed, changed, moved or resized, both as CSV.
Why do unchanged elements show as added and removed?
Some exports give elements a new GlobalId each time. The comparison falls back to Revit's element id, stored in the Tag, and then to the same class, place and volume, so those elements are paired instead of being counted twice.
Can it price a change order?
Yes. Type rates on the bill of quantities; the same rates price both revisions, and the change CSV carries the amount before, after and the difference. The rates are yours.
Is either model uploaded?
No. Both files are read in your browser tab.