Skip to content

Snowdon: three doors and windows cut a different host wall than Revit's export #439

Closed

Description

@DrunkOnJava

Measured while working on #227 (openings through the wall). Comparing each filler's host (IfcRelFillsElement then IfcRelVoidsElement, keyed by ElementId Tag) between rvt-rs's export and Revit's own IFC4 export:

  • Core Interior (slim export): 138 of 138 hosts equal.
  • Snowdon Towers Architectural 2024 (local only): 107 of the 110 fillers present in both have the same host.

The three that differ:

filler class rvt-rs host Revit's host
1514788 IfcDoor 1506500 1505924 (IfcCurtainWall)
1516507 IfcDoor 1506500 1505924 (IfcCurtainWall)
1528884 IfcWindow 1331882 (Basic Wall: Party - 6 1/8" (2-hr)) 1105050 (Basic Wall: Chase - GWB & Metal Stud)

Both rvt-rs hosts are real walls, so this is a host choice, not a missing wall. The docs used to say the host pairs Revit's "on every measured model"; that sentence is corrected in the #227 PR.

Next step: read how the host reference is chosen for these three records (RE-23) and find the signal that picks Revit's host, or report it as a measured negative.

Activity

  1. DrunkOnJava commented on Sep 28, 2026

    @DrunkOnJava
    OwnerAuthor

    Measured 2026-09-27, Snowdon Towers (local only), every door and window element record (247), against Revit's own IFC4 export.

    The host wall is in the record's first reference list (+0x88), but not always in the slot immediately before the record's own ElementId (RE-23's rule). On void-only families (Door-Opening, Schematic Opening Cut) and on some others, a type id and further ids sit between them, e.g. door 1290306: [118390, 593179, 787288, 787328, 1290267, 1290306, 1745343], where Revit's host is 787288 and the slot before the id is 1290267.

    Candidate rule: the first reference before the record's own id that is an exported wall.

    RE-23 rule today candidate rule records
    Revit's host Revit's host 143
    no host Revit's host 32
    other wall Revit's host 2 (1514788, 1516507 below)
    Revit's host other wall 1 (1921709: Revit cuts five walls there)
    no host a curtain wall, where Revit writes no opening 5
    no host no host 63
    • 1514788 and 1516507 list the wall 1505924 before the curtain wall 1506500; Revit's host is 1505924.
    • 1528884: Revit voids both 1105050 and 1331882 (a window cutting two walls). The candidate rule picks 1105050, which Revit's IfcRelFillsElement fills; RE-23 picks 1331882.
    • Doors in curtain walls: Revit writes no opening for them. Restricting candidates to IfcWall (not curtain walls) removes the 5 and also the one curtain-wall opening rvt-rs writes today (1048452).

    Core Interior (273 records) and RE1 Architecture (5): the candidate rule gives the same host as RE-23 on every one.

    Not done yet: the rule change itself, and Revit's extra unfilled openings where one door or window cuts several walls (262 unfilled openings on Snowdon, 47 of them void-only families, #309).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions