Skip to content

fix(ifc): a curtain panel that is the host panel of another curtain wall's grid is left out on Revit 2024, as Revit's export leaves it out (#1975) (RE-462) - #1986

Merged
DrunkOnJava merged 3 commits into
mainfrom
fix/1975-host-panels
Nov 14, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
fix/1975-host-panels

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

On Revit 2024 a curtain panel whose wall record holds a HostPanelInfo (the host panel of another curtain wall's grid) is left out, as Revit's export leaves it out. Snowdon Towers Architectural (local only) had 23 such panels written as IfcPlate CURTAIN_PANEL that Revit's export has no entity for. rvtReview's diagnosis on #1975 found the 23 extra plates are exactly the 23 HostPanelInfo walls, both ways.

Changes

Testing

Registered on #1975 before the run. Measure unfiltered with samples, nordic, r2025 and holdout, and Snowdon's export kept:

  1. The 23 IfcPlate go and no other entity of the Snowdon architectural export moves; the other four Snowdon files are byte-identical to main's.
  2. Every other file of the models is byte-identical to main's.
  3. Against Revit's local export of Snowdon architectural, scored locally (counts and Tags only), the IfcPlate Tags are equal: none only in Revit, none only in rvt-rs.

Result

Measure 43555675665: head 5099cbd2 against main ca71e696, unfiltered with samples, nordic, r2025 and holdout, Snowdon's export kept. The merge of main at 708dd626 (after v0.23.0) changes nothing the run measures.

  1. Holds. Only Snowdon architectural's export moves:

    • IFCPLATE 485 to 462, and building elements 6,148 to 6,125.
    • The new skipped reason element_record_curtain_host_panel counts 23 CurtainWallPanel.
    • schema.txt's two scorer lines: property sets 13,574 on 6,285 objects and types to 13,551 on 6,262.
    • The other four Snowdon files are byte-identical to main's.
  2. Holds. 119 of 120 exports and 101 of 102 diagnostics.json files are byte-identical to main's. The one that differs on each side is Snowdon architectural's.

  3. Holds. That run's kept export was scored locally against Revit's own IFC4 export of Snowdon architectural, by Tag (counts and Tags only):

    IfcPlate only in rvt-rs only in Revit IfcCurtainWall
    Revit 462 60
    main 485 23 0 60
    this PR 462 0 0 60

    The 23 that go are the CURTAIN_PANEL plates of 7 curtain walls.

same-project gates passes on 5099cbd2.

Clean-room: revit-ifc's WallExporter.Export and CurtainSystemExporter.GetVisiblePanelsForGrid are cited for what Revit writes, not copied.

Closes #1975.

…all's grid is left out on Revit 2024, as Revit's export leaves it out (#1975) (RE-462)
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

First Measure 43553084217 (head 4c6adca against main ca71e69): rows 1 and 2 hold. Only Snowdon Towers Architectural's export moves; the other 119 are byte for byte main's, Snowdon's other four files included. Row 3, scored locally against Revit's export (counts only), holds for the plates: IfcPlate 462 in both, none only in either. But the check also shows a regression: IfcCurtainWall falls from Revit's 60 to 42, and the property-set census loses 41 objects (23 plates and 18 curtain walls). The 18 are RE-72's panel walls, curtain panels that hold a basic wall of a layered type and are written as IfcCurtainWall, as Revit writes them. They also hold a HostPanelInfo, so the filter took them too. Fixed in 5099cbd: a panel carrying m_curtain_panel_is_wall is never left out. New Measure, with the export kept for row 3 again: 43555675665. Added row 4: Snowdon's IfcCurtainWall count stays at 60, Revit's.

@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Result. Measure 43555675665 on head 5099cbd2 against main ca71e696 (unfiltered, with samples, nordic, r2025 and holdout; Snowdon's export kept). Each registered row:

  1. Holds. Only Snowdon architectural's export moves:

    • IFCPLATE goes from 485 to 462, and building elements from 6,148 to 6,125.
    • The new skipped reason element_record_curtain_host_panel counts 23 CurtainWallPanel.
    • schema.txt's property sets go from 13,574 on 6,285 objects to 13,551 on 6,262: the 23 plates' sets go with them.
    • No other count in its diagnostics moves, apart from the fractions those counts feed.
    • The other four Snowdon files are byte-identical to main's.
  2. Holds. 119 of 120 exports and 101 of 102 diagnostics are byte-identical to main's.

  3. Holds. Scored locally against Revit's own IFC4 export of Snowdon architectural, by Tag (counts only):

    IfcPlate only in rvt-rs only in Revit IfcCurtainWall
    Revit 462 60
    main 485 23 0 60
    this PR 462 0 0 60

    The 23 that go are the CURTAIN_PANEL plates of 7 curtain walls. They are the host panels: basic walls standing in a curtain grid, which Revit writes as walls, not as panels. IfcMember (1,595 against Revit's 1,625) and the openings are unchanged by this PR.

same-project gates passes on 5099cbd2. Under the release freeze this stays a draft. After the 0.23.0 tag, main is merged in, and the PR goes ready for review.

@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 14, 2026 05:30
@DrunkOnJava
DrunkOnJava merged commit 2467886 into main Nov 14, 2026
63 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1975-host-panels branch November 14, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Snowdon Towers: 23 host panels of curtain walls are written as IfcPlate where Revit's export writes nothing

1 participant