Repository navigation
Description
Measured by the class_sets_vs_ifc scorer in Measure (run 39149337564, main at f7f378c, -f nordic=true) on both BIM4LCA office models, against Revit's own IFC4 export of each. Elements are paired by Tag. The counts are the same on the as-built and the building-permit file.
| Revit's class | rvt-rs's class | Elements |
|---|---|---|
| IfcCurtainWall | IfcShadingDevice | 124 |
| IfcWasteTerminal | IfcSanitaryTerminal | 78 |
| IfcElectricAppliance | IfcBuildingElementProxy | 51 |
| IfcFireSuppressionTerminal | IfcBuildingElementProxy | 40 |
| IfcSanitaryTerminal | IfcFurniture | 15 |
| IfcBuildingElementProxy | IfcCovering | 9 |
| IfcStair | IfcBuildingElementProxy | 2 |
| IfcDoor | IfcPlate | 1 |
| IfcRampFlight | IfcRamp | 1 |
| IfcAirTerminal | IfcBuildingElementProxy | 1 |
| IfcFlowTerminal | IfcSanitaryTerminal | 1 |
That is 323 elements. A further 42 Turning Free Space family instances are IfcSpace in Revit's export and IfcBuildingElementProxy in rvt-rs's, with the same ElementIds. #763 covers the space side.
The curtain walls (measured, run 39153127128). The value is not misattributed. RE-45's probe finds an "Export to IFC As" of IfcShadingDevice in each of the 124 curtain walls' own data, on a Walls record. Revit's export ignores it because of the exporter version:
- Revit 2024's exporter (revit-ifc
IFC_v24.1.0toIFC_v24.3.40):CurtainSystemExporter.ExportBasecreates every curtain wall asIfcCurtainWalland never reads the value. That matches the office export, 124 of 124 on both files. - From
IFC_v25.2.0(Revit 2025) through 26.x:ExportBasetakes the entity from the same lookup as every other element, so a curtain wall set toIfcShadingDevicewould be exported as one. - On floors, Revit 2024 does follow the value: Core Interior's 20 floors set to
IfcShadingDeviceareIfcShadingDevicein Revit's export.
The same run, on the other mismatches:
- Fire suppression terminals: all 40 carry their own
IfcFireSuppressionTerminal, which Revit followed and rvt-rs does not act on. - Family instances exported as spaces: the 44 (42 Turning Free Space, 2 VOLUME) carry
IfcSpace, and Revit made them spaces. - Wall sweeps: 9 carry
IfcCovering, which rvt-rs follows and Revit's export did not (it wrote proxies). - Type values: 2 types carry
IfcWasteTerminalType(Revit types 36 waste terminals by them), 5 carryIfcElectricApplianceType(20 electric appliances) and 9 carryIfcSanitaryTerminalType(70 sanitary terminals). 16 electric appliances also carry their ownIfcElectricAppliance. How many of the mismatched elements these values cover is not counted yet. - Not measured: Revit's office export carries no
Other.Categoryset and no export-value property, so these counts come from rvt-rs's reading of the file alone.
What would close this:
Measure, for each mismatched element, Revit's own category and any "Export to IFC As" value Revit's export carries, against rvt-rs's.Measured, above.- A curtain wall in a 2024 file stays
IfcCurtainWallwhatever its value says. Then honour the values the exports prove, mapping what the measurement shows. Check each new override value or category mapping against these two exports, which CI's corpus now holds. category_map::EXPORT_OVERRIDE_TARGETSsays an unrecognised override value "is reported as an unhonoured override", but nothing reports it. Report it in the diagnostics, or correct the comment.
Edited: the first version said the curtain walls' value was most likely attributed to the wrong element. Run 39153127128 shows it is the curtain walls' own, and that Revit 2024's exporter ignores it.
Activity
fix(ifc): a curtain wall in a Revit 2024 file is IfcCurtainWall whate…
docs(re): RE-188 report and CHANGELOG entry for the 2024 curtain-wall…
fix(ifc): a curtain wall in a Revit 2024 file is IfcCurtainWall whate…
DrunkOnJava commentedon Oct 18, 2026
#796 landed the curtain walls (RE-188).
Fixed: a curtain wall in a Revit 2024 file is
IfcCurtainWallwhatever its "Export to IFC As" says, as Revit 2024's exporter writes it (revit-ifc 24.1.0 to 24.3.40). On both office files that takes the 124 shading devices back to curtain walls, and all 220 now match Revit's export. Core Interior's 20 floor shading devices, Einhoven and the RE1 models are unchanged.Decided: in 2025 and 2026 files a curtain wall keeps following the value, as the exporter does from 25.2.0. That is read from source and not yet measured on a Revit export.
What is left here is now listed by the export itself. The diagnostics warn with every value the export does not apply. On the as-built file, 381 elements carry one:
IfcShadingDeviceCurtainWallIfcWasteTerminalPlumbingFixtureIfcElectricApplianceElectricalEquipmentIfcSpaceGenericModelIfcFireSuppressionTerminalSpecialtyEquipmentIfcWallCurtainWallIfcSanitaryTerminalCaseworkThe counts match the class mismatches in the table above one for one: 78, 51, 40 and 15. They have not been paired element by element yet; that is part of acting on each value. Next, the writer acts on these values one at a time, each checked against both office exports with its predefined type and type object.
Two items stay open:
IfcSpacefamily instances, which wait for Nordic LCA office: Revit's export has 44 family instances as IfcSpace (their own Export to IFC As) that rvt-rs writes as proxies #763;IfcCoveringbut are proxies in Revit's export, for a reason RE-188 rules out as the version split.28 remaining items
[-]Nordic LCA office: 323 elements exported as a different IFC class than Revit's export[/-][+]BIM4LCA office: fixture 3095244 is IfcSanitaryTerminal where Revit writes IfcFlowTerminal, and the permit model writes a column Revit's export leaves out[/+]research(elements): the class-peer probe adds each element's type, fa…
DrunkOnJava commentedon Oct 24, 2026
Measured the two remaining elements against their peers on both office files. Measure 40141814474, branch
re/792-odd-elements,examples/probe_792_class_peers.rswithtools/re/class_peers_vs_ifc.py. The probe compares 168 scalar fields of each element's native record, itsInstanceInfo, its type and the type's family, plus a deep diff of its whole graph against a peer.IfcFlowTerminal, its 144 peersIfcSanitaryTerminal): no field sets it apart but identifiers. It is the only instance of its type, 3435912 (m_masterSymbolId,InstanceInfo.m_symbolId), and none of that type's or its family's scalar fields takes a value no peer's type or family has. Its graph differs from a peer's only in placement (m_RefDir,m_instOrigin,m_Trf),m_bVertical/m_workPlaneBased(values other peers share) and its parameter count.So neither is explained by what its own records, its type or its family hold. The likely causes sit outside them: the export view's visibility, filters or phase, or, for the fixture, the family's own document. Revit's exporter maps a category to a class unless something overrides it, and the override is not in the fixture's records. I'm leaving both written as they are, failing open on a single element each, until a signal turns up. The branch stays for that.
docs: correct the element-set, 2015 and count claims the 2026-10-29 b…
research(ifc): list every FamilyParams slot holding the Export to IFC…
research(ifc): no family parameter slot holds Export to IFC either, r…
research(ifc): Revit's Export to IFC parameter does not explain the s…
DrunkOnJava commentedon Oct 31, 2026
A W7 consequence of the class difference, measured on
mainatf9f71e68(Measure 41215480967 with--revit-set-placement, and 41213779326): rvt-rs writesPset_SanitaryTerminalTypeCommon.Referenceon all 145 sanitary terminals of the office, as built and at permit. Revit's export writes it on 144; fixture 3095244 is itsIfcFlowTerminal, which has no such set. That is the one property value rvt-rs writes on an object Revit's export writes and Revit does not. The permit model's extra column carries the other values Revit does not write:Pset_ColumnCommonIsExternal,LoadBearingandReference, andPset_ReinforcementBarPitchOfColumn.Reference. Settling the fixture's class settles both; #1230 states this on the criteria page.docs: the 1.0 criteria and README carry main's census at f9f71e6, and…
docs: #1185 is closed by RE-354, and its residuals are #1507, #1496 and
docs: RE-342 records the contributor's run, the 1.0 page cites #1444,…
feat(ifc): door types' Fire Rating and family types' Manufacturer, re…
docs: every row of the contribution map carries its issue's own title…
feat(ifc): the Export to IFC As values IfcSpaceType, IfcFurniture, If…
feat(ifc): a door takes its own or its type's predefined type where i…