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
Snowdon: one record-backed slab (ElementId 2062318) is not in Revit's export #309
area:elementsWork in the elements area.area:ifcWork in the ifc area.priority:P2Important quality, usability, or hardening work.type:bugCorrectness defect or regression.
On Autodesk's Snowdon Towers Sample Architectural (Revit 2024, .rvt sha256 33271010…), the export writes one record-backed IfcSlab, ElementId 2062318, that Revit's own IFC4 export of the file (bldrs-ai/test-models, IFC 24.0.20.20, sha256 ecfcb04e…) does not contain under any entity or Tag.
The record passes the RE-21 instance rule (declared id, no container, placed):
OST_Floors, Partitions/68 at offset 11415350;
a 23.05 × 1.54 ft plate, 0.33 ft thick.
The nearest exported elements, after the internal-to-shared transform the export states, are these, each with a different Tag:
"Slab Edge:Bleacher Seating" proxies, 0.9 to 6.8 ft away;
4-inch "Concrete Slab" steps, from 4.0 ft away.
It looks like one bleacher step that Revit did not export, for example one in a non-primary design option or a demolished phase.
It is the only false positive among the 43 first-prologue instances on Snowdon: 5 walls, 36 wall sweeps and 1 furniture item match. Core Interior and the RE1 models have none. See reports/element-framing/RE-33-product-categories.md §4.
What would close it
A byte field that separates exported from non-exported instances (design option, phase), measured against an export that leaves some out. Until then the record is exported and this stays a documented measured negative.
Edited 2026-11-15: absolute Snowdon Towers figures (positions, elevations, areas) are removed. The Snowdon files measured here have no licence, so only counts, lengths and differences from them are published.
113 declared ids share exactly that triple, and Revit's export contains none of them. No exported element has 1707 at +0x18, and only 4 have it at +0x20.
Neither 1707 nor 2218 has an ElemTable row of its own, so these are not ordinary element references. A workset or design-option id would fit.
Across all declared ids, several +0x18 values are carried by hundreds of ids of which none is exported, e.g. 1570 (3,246 ids), 2183 (1,340) and 918 (1,255). Many of those are presumably view-owned annotation.
Next step: find what distinguishes 1707 from the +0x18 values carried by exported elements, using a byte field rather than the export.
Progress, measured 2026-09-22 after #313 (RE-34). Snowdon Architectural exports 4,245 elements; 115 of them are not in Revit's IFC4 export.
The omission follows the element's type. Each omitted element's reference list names a declared id that has no element frame of its own and is named by no exported element at all:
type id
ElemTable owner
omitted instances
732803
732393
30 specialty equipment
1005464
1731134
23 curtain panels
21944
none
24 curtain panels
1005701
none
20 panels (with 21944)
730230
1820426
15 plumbing fixtures
1382689
1844780
15 specialty equipment
1845188, 1821208
none
9 + 7 with the above
Together these cover 111 of the 115. The other four are the bleacher step (2062318) and walls.
The shapes fit family types (FamilySymbol) owned by their family, plus system types with no owner.
21944 is the system "Empty" panel. The UTF-16 string "Empty System Panel: Empty" sits right after its id in Partitions/68. Revit's IFC exporter does not write empty curtain panels.
Specialty equipment: the file carries about 2,200 RPC entourage strings. RPC content is a likely identity for the specialty types, not yet tied to 732803 or 1382689 byte for byte.
There is no "IfcExportAs" / "Don't export" string anywhere in the partitions, so this is not the RE-22 per-element override.
Next: a byte rule that names a type ("Empty" system panel, RPC family) or its export flag, applied through the RE-28 type join (unique_type_reference). Measure it against these eight types, and require zero exported elements dropped.
Progress, measured 2026-09-23 after RE-40 (#327) and RE-41. Snowdon Architectural exports 6,044 elements and 5,944 of them are in Revit's IFC4 export. Nothing is left unattributed, and only one of Revit's elements of an exported entity is missing (a stair run with no readable frame).
The 100 elements outside Revit's export, grouped by the Family:Type rvt-rs now writes (RE-38):
The bleacher slabs and walls, and the generic model in "Simple Dome", are now left out as non-primary design options (RE-40).
Every group left here is a family with no solid body of its own:
two families are pure opening cuts. Revit writes no door, window or IfcOpeningElement for them; their names appear only on 53 IfcArbitraryClosedProfileDefs, so the cut is carried by the host's profile;
one is the system "Empty" panel.
The rule to find is therefore a byte that says a family type has no solid geometry, or that Revit's exporter skips it. It is not the type's name, which is language-dependent.
Measured on Snowdon Towers Architectural (local only) on main at fc7f36c: rvt-rs exports 100 elements that Revit's IFC4 export leaves out.
elements
what they are
38
IfcWindow, family "Schematic Opening Cut"
9
IfcDoor, family "Door-Opening"
24
IfcPlate, "Empty System Panel:Empty"
23
IfcPlate curtain panels with no resolved type
6
IfcSlab 2287679 to 2287714, which are in the "Legends" phase (#328)
Measured negative (not shipped): "names a nested generic model". Every normal window's reference list names OST_GenericModel (−2000151) records, probably its nested solid components, and no opening-cut window names one.
Windows: 66 of 68 exported windows name one, 0 of 38 left-out windows do. That would wrongly drop 2 exported windows.
Doors: none of the 132 exported doors or the 9 left-out doors names a generic model, so there is no signal.
It is not a rule. The other prologue fields (flags, +0x46, +0x4a, +0x4c) do not separate the two sets. The only other difference is that all 38 opening cuts have exactly 12 references, which is not a signal by itself.
Next to try: the family document's own geometry (void-only families carry no solid), the panel type's kind for the empty panels, and the export phase for the six Legends slabs (with #328).
Measured on Snowdon Towers after RE-72 (#370), about the 47 curtain panels in the table above. examples/probe_re72_curtain_panels.rs lists what each panel's record names.
The 24 "Empty System Panel:Empty" panels. The panel type's own element data carries a u64 right after its type-object tag (db 0f), and that u64 is the type's material:
panel type (ElementId)
family
id after db 0f
material
Glazed (20916)
System Panel
18439
"Glass"
Solid (62119)
System Panel
18435
"Default"
Empty (21944)
Empty System Panel
ff × 8 (unset)
none
So "a system panel type with no material" is a locale-independent candidate for the empty panel. It isn't shipped. A System Panel type set to "By Category" may also store no material, and no local file has one to check against. The alternative, matching the family name "Empty System Panel", only works on English-locale files.
The 23 unnamed panels. Each names a type object whose element-data name is "Solar Wall Window Frame", and no name entry. None of the ids they name (the type object, the grid-like ids and the neighbouring panels) is in Revit's export under any entity. Nothing yet says why Revit leaves them out.
Not these: the 18 panels that hold a basic wall are in Revit's export. Revit writes them as IfcCurtainWall with a body, which RE-72 now matches.
Measured on main (88714209, Snowdon Towers Architectural, against Revit's own IFC4 export by Tag, local only): every part of this issue holds.
Slab 2062318 is no longer written, under any entity or Tag. The export's diagnostics leave out 9 floors as element_record_in_non_primary_design_option (RE-40's primary option, the Bleacher Seating set beside it) and 6 as element_record_not_in_export_phase.
The 47 curtain panels Revit's export omits are left out: element_record_empty_curtain_panel 24 and element_record_curtain_host_panel 23.
The opening-only doors and windows of the 2025-edition comment are written as bare IfcOpeningElements, voiding their hosts with no filling. All 9 Door-Opening doors and 36 of the 38 Schematic Opening Cut windows the VIM names are among the 78 bare openings both exports write with the same Tag. The other 2 windows are not in the 2027 VIM by id, and 22 of the 78 are not in it either.
By Tag, every product rvt-rs writes on this file is in Revit's export but 3 bare openings, which are #1987's extras on Snowdon (1993286, 1993355, 1993375). Revit's export holds 15 bare openings rvt-rs does not write: 10 cut by Tree Grate site families, 2 shaft openings and 3 not in the VIM. Those belong to #1165.
The done-when, a byte field that separates exported from non-exported instances, is RE-40's primary option and the export phase. Closing as completed.
Correction to the closing comment: the 3 bare openings of wall 698364 that rvt-rs writes and Revit's export does not match by Tag (1993286, 1993355, 1993375) are the same openings as Revit's 1993278, 1993305 and 1993365, each box equal to 0.001 ft. Each export Tags them with another line of the wall's profile sketch, which is RE-380's open Tag question, not #1987. So by Tag and by box, every product rvt-rs writes on this file is in Revit's export.
area:elementsWork in the elements area.area:ifcWork in the ifc area.priority:P2Important quality, usability, or hardening work.type:bugCorrectness defect or regression.
Activity
DrunkOnJava commentedon Sep 23, 2026
Lead, measured 2026-09-22 (not yet a rule):
Global/ElemTablerow of 2062318 (40-byte layout):+0x04) = itself;+0x18/+0x1c/+0x20= (1707, 2218, 1707).113 declared ids share exactly that triple, and Revit's export contains none of them. No exported element has 1707 at
+0x18, and only 4 have it at+0x20.Neither 1707 nor 2218 has an ElemTable row of its own, so these are not ordinary element references. A workset or design-option id would fit.
Across all declared ids, several
+0x18values are carried by hundreds of ids of which none is exported, e.g. 1570 (3,246 ids), 2183 (1,340) and 918 (1,255). Many of those are presumably view-owned annotation.Next step: find what distinguishes 1707 from the
+0x18values carried by exported elements, using a byte field rather than the export.feat(elements): thirteen more product categories from element records…
feat(elements): infer second-prologue ElementIds from reference order…
feat(ifc): name inferred ElementIds in the element-record property se…
DrunkOnJava commentedon Sep 23, 2026
Progress, measured 2026-09-22 after #313 (RE-34). Snowdon Architectural exports 4,245 elements; 115 of them are not in Revit's IFC4 export.
The omission follows the element's type. Each omitted element's reference list names a declared id that has no element frame of its own and is named by no exported element at all:
Together these cover 111 of the 115. The other four are the bleacher step (2062318) and walls.
The shapes fit family types (FamilySymbol) owned by their family, plus system types with no owner.
Partitions/68. Revit's IFC exporter does not write empty curtain panels.Next: a byte rule that names a type ("Empty" system panel, RPC family) or its export flag, applied through the RE-28 type join (
unique_type_reference). Measure it against these eight types, and require zero exported elements dropped.fix(elements): leave out placed instances with no 3D volume, as Revit…
fix(partitions): read second-prologue ElementIds from the enclosing p…
feat(elements): export lighting fixtures, air terminals, food service…
feat(ifc): name elements Family:Type:ElementId from partition name en…
feat(elements): leave out non-primary design options and export slab …
DrunkOnJava commentedon Sep 23, 2026
Progress, measured 2026-09-23 after RE-40 (#327) and RE-41. Snowdon Architectural exports 6,044 elements and 5,944 of them are in Revit's IFC4 export. Nothing is left unattributed, and only one of Revit's elements of an exported entity is missing (a stair run with no readable frame).
The 100 elements outside Revit's export, grouped by the
Family:Typervt-rs now writes (RE-38):Family:TypeIfcWindowIfcPlateIfcPlateIfcDoorIfcSlabThe bleacher slabs and walls, and the generic model in "Simple Dome", are now left out as non-primary design options (RE-40).
Every group left here is a family with no solid body of its own:
IfcOpeningElementfor them; their names appear only on 53IfcArbitraryClosedProfileDefs, so the cut is carried by the host's profile;The rule to find is therefore a byte that says a family type has no solid geometry, or that Revit's exporter skips it. It is not the type's name, which is language-dependent.
fix(elem-table): declare the ElemTable's second id where the two ids …
docs(readme): describe what rvt-rs reads from Revit 2024 and 2025 pro…
DrunkOnJava commentedon Sep 23, 2026
Measured on Snowdon Towers Architectural (local only) on main at fc7f36c: rvt-rs exports 100 elements that Revit's IFC4 export leaves out.
IfcWindow, family "Schematic Opening Cut"IfcDoor, family "Door-Opening"IfcPlate, "Empty System Panel:Empty"IfcPlatecurtain panels with no resolved typeIfcSlab2287679 to 2287714, which are in the "Legends" phase (#328)Measured negative (not shipped): "names a nested generic model". Every normal window's reference list names
OST_GenericModel(−2000151) records, probably its nested solid components, and no opening-cut window names one.It is not a rule. The other prologue fields (flags,
+0x46,+0x4a,+0x4c) do not separate the two sets. The only other difference is that all 38 opening cuts have exactly 12 references, which is not a signal by itself.Next to try: the family document's own geometry (void-only families carry no solid), the panel type's kind for the empty panels, and the export phase for the six Legends slabs (with #328).
DrunkOnJava commentedon Sep 24, 2026
Measured on Snowdon Towers after RE-72 (#370), about the 47 curtain panels in the table above.
examples/probe_re72_curtain_panels.rslists what each panel's record names.The 24 "Empty System Panel:Empty" panels. The panel type's own element data carries a
u64right after its type-object tag (db 0f), and thatu64is the type's material:db 0fff× 8 (unset)So "a system panel type with no material" is a locale-independent candidate for the empty panel. It isn't shipped. A System Panel type set to "By Category" may also store no material, and no local file has one to check against. The alternative, matching the family name "Empty System Panel", only works on English-locale files.
The 23 unnamed panels. Each names a type object whose element-data name is "Solar Wall Window Frame", and no name entry. None of the ids they name (the type object, the grid-like ids and the neighbouring panels) is in Revit's export under any entity. Nothing yet says why Revit leaves them out.
Not these: the 18 panels that hold a basic wall are in Revit's export. Revit writes them as
IfcCurtainWallwith a body, which RE-72 now matches.46 remaining items
fix(ifc): a curtain panel that is the host panel of another curtain w…
DrunkOnJava commentedon Nov 15, 2026
Measured on
main(88714209, Snowdon Towers Architectural, against Revit's own IFC4 export byTag, local only): every part of this issue holds.Tag. The export's diagnostics leave out 9 floors aselement_record_in_non_primary_design_option(RE-40's primary option, the Bleacher Seating set beside it) and 6 aselement_record_not_in_export_phase.element_record_empty_curtain_panel24 andelement_record_curtain_host_panel23.IfcOpeningElements, voiding their hosts with no filling. All 9Door-Openingdoors and 36 of the 38Schematic Opening Cutwindows the VIM names are among the 78 bare openings both exports write with the sameTag. The other 2 windows are not in the 2027 VIM by id, and 22 of the 78 are not in it either.By
Tag, every product rvt-rs writes on this file is in Revit's export but 3 bare openings, which are #1987's extras on Snowdon (1993286, 1993355, 1993375). Revit's export holds 15 bare openings rvt-rs does not write: 10 cut byTree Gratesite families, 2 shaft openings and 3 not in the VIM. Those belong to #1165.The done-when, a byte field that separates exported from non-exported instances, is RE-40's primary option and the export phase. Closing as completed.
DrunkOnJava commentedon Nov 15, 2026
Correction to the closing comment: the 3 bare openings of wall 698364 that rvt-rs writes and Revit's export does not match by Tag (1993286, 1993355, 1993375) are the same openings as Revit's 1993278, 1993305 and 1993365, each box equal to 0.001 ft. Each export Tags them with another line of the wall's profile sketch, which is RE-380's open Tag question, not #1987. So by Tag and by box, every product rvt-rs writes on this file is in Revit's export.
docs: Snowdon Towers figures are given as counts, lengths and differe…