Skip to content

Snowdon: one record-backed slab (ElementId 2062318) is not in Revit's export #309

Closed

Description

@DrunkOnJava

Measured false positive

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.

Refs #295, #94.

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.

Activity

  1. DrunkOnJava commented on Sep 23, 2026

    @DrunkOnJava
    OwnerAuthor

    Lead, measured 2026-09-22 (not yet a rule):

    Global/ElemTable row of 2062318 (40-byte layout):

    • owner (+0x04) = itself;
    • u32 slots +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 +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.

  2. DrunkOnJava commented on Sep 23, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

  3. DrunkOnJava commented on Sep 23, 2026

    @DrunkOnJava
    OwnerAuthor

    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):

    entity Family:Type count
    IfcWindow Schematic Opening Cut:Schematic Opening Cut 38
    IfcPlate Empty System Panel:Empty 24
    IfcPlate curtain panels whose type does not resolve 23
    IfcDoor Door-Opening:32" x 84" / 60" x 84" 9
    IfcSlab Floor (the Legends phase, #328) 6

    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.

  4. DrunkOnJava commented on Sep 23, 2026

    @DrunkOnJava
    OwnerAuthor

    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).

  5. DrunkOnJava commented on Sep 24, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

  6. 46 remaining items

  7. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

  8. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:elementsarea:ifcpriority:P2type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions