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
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
Split out of #745. Once Global/ElemTable is read with its 32-bit record count (#559), ARK_NordicLCA_Office_Concrete_As-Built.rvt (BIM4LCA / Nordic LCA, Revit 2024, CC BY-SA 4.0, not in CI's corpus) exports 12,989 elements on 10 storeys. @helenkwok measured that export against Revit's own IFC4 export of the same file (comment):
Class
rvt-rs (main)
Revit's export
Walls
628
607
Columns
278
279
Doors
268
269
Windows
269
269
Curtain walls
220
220
Mullions
10,003
10,003
Slabs
31
63
Spaces
234
308
Floors and rooms are short. The building-permit sibling (same building and Revit build, saved four hours earlier) is the A/B pair to check first: does it show the same gap?
What would close this:
Measure the slab and space sets by Tag against Revit's export on both files, and list which ElementIds are missing.
For the missing ones, find where their records are. They may be in a framing or a partition the current scan does not reach (the as-built file has a single 62 MB Partitions/425, inflating to about 378 MB over 3,635 members).
Fix what the measurement shows, or record a negative. The extra walls (628 against 607) belong in the same comparison.
The files are public (VTT's "BIM files to download" page); corpus/tier2/README.md lists the BIM4LCA files the tests use, with their sha256.
Measured on main at f7f378c with the new class_sets_vs_ifc scorer in Measure (run 39149337564, -f nordic=true). It runs on both office models and pairs elements by Tag and spaces by GlobalId, against Revit's own IFC4 export of each file.
Slabs and walls now match exactly on both files:
slabs: 63 of 63;
walls: 607 of 607 (as-built) and 589 of 589 (permit), with no extra walls;
columns: 279 of 279 and 345 of 345.
Spaces: 234 of Revit's 308 on both files, the same 74 missing. 44 of the 74 are family instances. What the other 30 are is not measured yet:
Revit's IfcSpace
Count
Storey in Revit's export
Turning Free Space:Turning Free Space 1500 mm family instances
42
none
LongName GFA (7) or GFA 250mm (5), Names 1 to 5, K, P
12
every level
LongName HEATED NETAREA, Names 1 to 4, 5a, K
6
one per level
LongName OFFICE (TSTO1 to TSTO11) or BUSINESS SPACE (LIIK1)
12
Level_01 to Level_04
VOLUME / OFFICE and VOLUME / GARAGE family instances
The other 30 are not identified yet. The GFA and HEATED NETAREA ones read like area-plan areas. TSTO1 to TSTO11 (OFFICE) and LIIK1 (BUSINESS SPACE) could just as well be ordinary rooms, and if they are, rvt-rs is dropping rooms. Until the category of each is measured, none of the 30 is ruled out as a room.
The two VOLUME instances are not in rvt-rs's export at all.
Next: measure the category Revit's export gives each of the 74, and the "Export to IFC As" value of the 44 family instances. A Measure run doing that is in progress. It shows which of the 30 are rooms rvt-rs drops, and whether rvt-rs should export Areas, and family instances set to IfcSpace, as spaces.
Edited: the first version said none of the 74 is a room. That holds for the 44 family instances only.
changed the title [-]Nordic LCA office as-built (Revit 2024): 31 of Revit's 63 slabs and 234 of its 308 spaces exported[/-][+]Nordic LCA office: 74 of Revit's 308 IfcSpace, areas and family instances, are not exported as spaces[/+]on Oct 18, 2026
changed the title [-]Nordic LCA office: 74 of Revit's 308 IfcSpace, areas and family instances, are not exported as spaces[/-][+]Nordic LCA office: 74 of Revit's 308 IfcSpace are not exported as spaces (44 family instances, 30 not yet identified)[/+]on Oct 18, 2026
All 74 are now identified, on both office files. rvt-rs drops no room: every one of the 234 rooms in Revit's export is in rvt-rs's. The 30 that were open, TSTO1 to TSTO11 and LIIK1 included, are Revit Areas, not rooms.
How each was measured:
probe_global_id_categories (Measure run 39155857614) looks up each IfcSpace of Revit's export by the GlobalId rvt-rs rebuilds for every declared element (RE-48). Revit's export carries no Other.Category.
probe_chain_record_categories (run 39157653056) reads the 30 elements' own partition records.
Revit's IfcSpace
Count
The element behind it
Rooms
234
OST_Rooms records, all 234 exported by rvt-rs
GFA, GFA 250mm, HEATED NETAREA, OFFICE (TSTO1 to TSTO11), BUSINESS SPACE (LIIK1)
30
OST_Areas (−2003200) records
Turning Free Space family instances
42
Generic Models whose "Export to IFC As" is IfcSpace (#792); rvt-rs writes them as proxies
VOLUME / OFFICE, VOLUME / GARAGE
2
Mass family instances, also set to IfcSpace
Why the Areas are missing. Each of the 30 is a 183-byte chain record with the Areas category at +0x12 and a placed-instance placement word. It has no bounding-box frame: the release's marker is not at +0x50. The element-record scan finds records by that marker, so it never sees them. A census of every chain record on the as-built file finds exactly 30 OST_Areas records, all without the marker. The 234 OST_Rooms records all have it. The permit file holds the same 30, each copied in two partitions.
What remains in this issue:
Areas. Revit's export writes each Area as an IfcSpace, in its level's storey, with the area's number and name. rvt-rs reads no Area at all. That needs the Area record decoded: its level, name and number, and its boundary, which carries no box. Whether rvt-rs should write Areas at all, and under which area schemes, can be settled once their content is read.
changed the title [-]Nordic LCA office: 74 of Revit's 308 IfcSpace are not exported as spaces (44 family instances, 30 not yet identified)[/-][+]Nordic LCA office: Revit's export has 30 Areas and 44 family instances as IfcSpace that rvt-rs does not write as spaces[/+]on Oct 18, 2026
Activity
ci(corpus): the tier-two job reads the BIM4LCA models CI's targets ne…
fix(re): class_sets_vs_ifc leaves out every opening subtype and count…
ci(measure): score the BIM4LCA office against Revit's exports, and ev…
DrunkOnJava commentedon Oct 18, 2026
Measured on
mainat f7f378c with the newclass_sets_vs_ifcscorer in Measure (run 39149337564,-f nordic=true). It runs on both office models and pairs elements byTagand spaces byGlobalId, against Revit's own IFC4 export of each file.Slabs and walls now match exactly on both files:
Spaces: 234 of Revit's 308 on both files, the same 74 missing. 44 of the 74 are family instances. What the other 30 are is not measured yet:
IfcSpaceTurning Free Space:Turning Free Space 1500 mmfamily instancesGFA(7) orGFA 250mm(5), Names1to5,K,PHEATED NETAREA, Names1to4,5a,KOFFICE(TSTO1toTSTO11) orBUSINESS SPACE(LIIK1)VOLUME / OFFICEandVOLUME / GARAGEfamily instancesIfcBuildingElementProxywith the same ElementIds. They are the 42 extra elements rvt-rs writes, so this is a class difference. It is tracked with the other class differences in BIM4LCA office: fixture 3095244 is IfcSanitaryTerminal where Revit writes IfcFlowTerminal, and the permit model writes a column Revit's export leaves out #792.GFAandHEATED NETAREAones read like area-plan areas.TSTO1toTSTO11(OFFICE) andLIIK1(BUSINESS SPACE) could just as well be ordinary rooms, and if they are, rvt-rs is dropping rooms. Until the category of each is measured, none of the 30 is ruled out as a room.Next: measure the category Revit's export gives each of the 74, and the "Export to IFC As" value of the 44 family instances. A Measure run doing that is in progress. It shows which of the 30 are rooms rvt-rs drops, and whether rvt-rs should export Areas, and family instances set to
IfcSpace, as spaces.Edited: the first version said none of the 74 is a room. That holds for the 44 family instances only.
[-]Nordic LCA office as-built (Revit 2024): 31 of Revit's 63 slabs and 234 of its 308 spaces exported[/-][+]Nordic LCA office: 74 of Revit's 308 IfcSpace, areas and family instances, are not exported as spaces[/+][-]Nordic LCA office: 74 of Revit's 308 IfcSpace, areas and family instances, are not exported as spaces[/-][+]Nordic LCA office: 74 of Revit's 308 IfcSpace are not exported as spaces (44 family instances, 30 not yet identified)[/+]chore(re): probe the category of every partition chain record and the…
DrunkOnJava commentedon Oct 18, 2026
All 74 are now identified, on both office files. rvt-rs drops no room: every one of the 234 rooms in Revit's export is in rvt-rs's. The 30 that were open,
TSTO1toTSTO11andLIIK1included, are Revit Areas, not rooms.How each was measured:
probe_global_id_categories(Measure run 39155857614) looks up eachIfcSpaceof Revit's export by the GlobalId rvt-rs rebuilds for every declared element (RE-48). Revit's export carries noOther.Category.probe_chain_record_categories(run 39157653056) reads the 30 elements' own partition records.IfcSpaceOST_Roomsrecords, all 234 exported by rvt-rsGFA,GFA 250mm,HEATED NETAREA,OFFICE(TSTO1toTSTO11),BUSINESS SPACE(LIIK1)OST_Areas(−2003200) recordsTurning Free Spacefamily instancesIfcSpace(#792); rvt-rs writes them as proxiesVOLUME / OFFICE,VOLUME / GARAGEIfcSpaceWhy the Areas are missing. Each of the 30 is a 183-byte chain record with the Areas category at
+0x12and a placed-instance placement word. It has no bounding-box frame: the release's marker is not at+0x50. The element-record scan finds records by that marker, so it never sees them. A census of every chain record on the as-built file finds exactly 30OST_Areasrecords, all without the marker. The 234OST_Roomsrecords all have it. The permit file holds the same 30, each copied in two partitions.What remains in this issue:
IfcSpace, in its level's storey, with the area's number and name. rvt-rs reads no Area at all. That needs the Area record decoded: its level, name and number, and its boundary, which carries no box. Whether rvt-rs should write Areas at all, and under which area schemes, can be settled once their content is read.[-]Nordic LCA office: 74 of Revit's 308 IfcSpace are not exported as spaces (44 family instances, 30 not yet identified)[/-][+]Nordic LCA office: Revit's export has 30 Areas and 44 family instances as IfcSpace that rvt-rs does not write as spaces[/+]47 remaining items
research(ifc): the family space scorer finds Revit's spaces by their …
research(ifc): the family space scorer counts which of each space's v…
docs(changelog): one Fixed heading under Unreleased (#763)
fix(ifc): a family instance whose Export to IFC As is IfcSpace is an …
docs(release): 1.0's requirements as passed, failed or not measured, …
feat(ifc): an Area's space gets the region its boundary lines enclose…
docs(areas): rooms, status, evidence, support matrix and changelog fo…
fix(ifc): an Area's named lines are those the chain declares or the s…
merge: main into the Area bodies branch, keeping main's room outline …
feat(ifc): an Area's space gets the region its boundary lines enclose…
chore(release): prepare v0.14.0 (#1345)
feat(ifc): Areas from Revit's plan topology, and on Revit 2025 to 2027 (
feat(ifc): every IfcSpace says what it is: SpaceKind room, area, mep_…
feat(ifc): an Area's Qto_SpaceBaseQuantities.Height is its body's hei…