You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NumberOfStoreys: Revit's exporter before IFC 26.1 counts only storeys that hold an element #1097
Pset_BuildingCommon.NumberOfStoreys is counted different on 20 of puzzbobb's 23 Revit 2025 models in the W7 property census (tools/re/psets_vs_ifc.py, Measure run 40942112911 at main af50068), and on 00_Blank as well once #1086 gives it its storey. rvt-rs writes the number of storeys it exports. Revit's exporter has written two different values over time.
What Revit's exporter writes
In Autodesk's open-source exporter revit-ifc, NumberOfStoreysCalculator (Source/Revit.IFC.Export/Exporter/PropertySet/Calculators/NumberOfStoreysCalculator.cs) took the value from ExporterIFCUtils.GetNumBuildingStoreys until the "IFC 26.1 for Revit 2026" commit (ef15008e2e, 2025-04-24). Since that commit it is the number of entries in the exporter's level cache. Measured on every reference export that writes the property (storeys in the export, storeys holding a contained element, Revit's value):
Up to IFC 26.0 the value is the number of storeys holding an element (25 of 25 exports). From IFC 26.1 it is the number of storeys (5 of 5). A .rvt does not record which exporter will export it, and a Revit 2025 file exported from Revit 2026 gets the newer value (RE1). The IFC4 definition is the number of storeys in the building.
Proposed
Keep writing the storey count: it is the IFC4 definition and what every exporter since 26.1 writes, exact on RE1 and the BIM4LCA office. In the census, count NumberOfStoreys apart where the reference export's exporter is older than IFC 26.1 and its value is the number of storeys holding an element rather than the number of storeys, with that reason stated. That is the same treatment as the values Revit's export is known to write wrongly (RE-235 §5), recorded in a dated RE report.
Activity
research(ifc): report the storey count rule of Revit's exporter, and …
research(ifc): state what the census run counts apart (#1097) (RE-263)
fix(elements): write the storey of a project with one Level (#1086)
research(ifc): count apart the storey count Revit's exporter before I…
fix(ifc): write NumberOfStoreys only where every storey contains an e…
fix(ifc): keep the writer's is_building_element, which its aggregate …
docs: keep the B63 label in a Tracker comment, out of the writer's AP…
test(ifc): RE1's building set without NumberOfStoreys where a storey …
docs: RE-263 §6, the storey count measured: none different, 1 left of…
docs: RE-263 §6 states only what is measured of the office's storeys (#…
test(witness): refresh Core Interior's rvt-rs observations for the st…
fix(ifc): write NumberOfStoreys only where every storey contains an e…