IfcDiff provides a bounded comparison between an old IFC model and a new one. It can expose added, deleted, and changed elements, plus selected geometry, attribute, and relationship changes. It is a diagnostic surface for a re-export or repair; it is not a universal equivalence test or a project acceptance decision.
Preserve the comparison pair
Keep the old model, the new model, and the export or repair context separately identified. Record the source and destination tools, schema versions, the reason for the new file, the GlobalId policy, and the downstream purpose.
IfcDiff assumes that an element’s GlobalId remains consistent between the two models. If identifiers were regenerated, an object can appear as an addition and a deletion rather than as a changed element. Treat that result as an identity observation that needs investigation, not as proof that the real-world object was added or removed.
Choose the comparison surface
Run the comparison against the old and new files and retain the output. Review the three primary result groups:
- Added — GlobalIds in the new file but not the old file.
- Deleted — GlobalIds in the old file but not the new file.
- Changed — GlobalIds present in both files where differences were detected.
The documented comparison can include geometry and attributes. Optional relationship comparisons can cover type, property, container, aggregate, and classification relationships. Select the relationship categories that match the exchange requirement; their optional status means that a default result is not a complete relationship audit.
Interpret geometry changes carefully
IfcDiff compares the underlying IFC geometric definition. An extrusion in one model and a mesh in the other counts as a geometry change even when both resolve to a similar boundary representation. The geometric comparison uses the precision defined in the new IFC model, so that precision is not a universal transfer or acceptance tolerance.
A changed list or geometry difference therefore answers a narrower question: what changed under the selected comparison rules? It does not establish that the new geometry is unacceptable, that the old and new GlobalIds identify the same real-world object, or that every required information layer was preserved.
Move from diff to acceptance
Use the result to choose the next check:
- Inspect added, deleted, and changed elements against the intended export scope.
- Review geometry and selected property or relationship differences against the information requirements.
- Investigate unexpected identity changes before treating a difference as a route defect.
- Run the receiving task or acceptance checks required for coordination, documentation, construction, analysis, or another stated purpose.
Preserve the diff output with the model pair and record which relationship categories were selected. A small diff can coexist with a failure in an untested requirement, and a large diff can contain changes that are acceptable for a deliberately narrower task.
For the final acceptance record, connect the comparison to validation, exchange control, and long-term reuse, where the required properties and retained evidence can be made explicit.
Key points
- Keep the old and new IFC files and their export context intact.
- Treat GlobalId consistency as an explicit comparison assumption.
- Select relationship comparisons that match the exchange requirement.
- Interpret geometry and precision within IfcDiff’s documented rules.
- Use the diff as diagnostic evidence, then perform purpose-specific acceptance.