Skip to content

Revit 2023 and 2024 export two single-cell curtain walls of rme_basic (573660, 573664) differently: IfcCurtainWall since #1809, IfcWall on 2024; no Revit export decides #1960

Closed

Description

@DrunkOnJava

The Revit 2023 and 2024 saves of Autodesk's rme_basic_sample_project are exported differently for two curtain walls, 573660 and 573664, and no Revit export in the corpora says which is right. Found by holding #1809's Revit 2023 curtain-wall rule (RE-440) to the 2024 saves of the same projects.

The disagreement. Both saves share every ElementId. The probe probe_re440_curtain_wall_records (run 43536228614, main at d679d38e) reads each file's own native records: in both saves 33 walls have the type 563420 "Standard", a NewCurtainWallType, and 573660 and 573664 have exactly one grid cell (u 0 v 0) with a panel (573661 and 573665, FamilyInstance). The exports (kept, run 43535235103):

Save IfcCurtainWall 573660 and 573664
2023 33 Curtain Wall:Standard:573660, one IfcPlate each
2024 31 Wall-573660, an IfcWall, nothing aggregated to it

The other 31 are the same in both saves by Tag (name and type equal on 31 of 31 after #1809, 0 of 31 before), and the same check on rac_advanced (34 curtain walls) and rac_basic (9) gives 34 of 34 and 9 of 9.

Why the two rules differ. The 2023 rule makes a wall a curtain wall by its type (RE-440). The 2024 rule makes it one when a curtain-wall mullion names it or a curtain grid is found (RE-46, RE-72), and its doc comment says a panel alone does not: walls named only by a panel are basic walls used as infill, measured on Snowdon Towers. Neither is wrong on what it measured, and they disagree on a wall of a curtain wall type with one cell and no mullion.

What the corpora say about such a wall, none of it decisive:

  • rac_basic has one single-cell curtain-type wall, 708088. It is an IfcCurtainWall in both saves, so the 2024 rule does promote a one-cell wall (probably through its mullions: not checked).
  • Snowdon Towers architectural (2024; Revit's own IFC4 export is local only) has 65 walls of a curtain wall type. All 42 that Revit exports as IfcCurtainWall have two or more cells. The 23 with one cell are absent from Revit's export, wall and panel both; their ids run in consecutive pairs (2339390, 2339392, ...), so they may be one array that Revit leaves out for another reason, and the file cannot say.
  • No Revit export of rme_basic exists.

To do. Read what 708088 has that 573660 lacks (mullions, grid records) in the 2024 save, to see which signal the 2024 rule finds; look for a corpus file with Revit's export and a one-cell, mullion-free curtain wall; check Revit's own rule in revit-ifc (cite the file and class, do not copy); then make the two releases agree, by narrowing whichever rule is wrong on that case. Until a file decides it, #1809's rule is wrong on no measured file and unmeasured on this case, and the 2024 rule the same.

Activity

  1. added
    area:ifc
    priority:P2
    type:bug
    on Nov 14, 2026
  2. changed the title [-]Revit 2024: a curtain wall with one grid cell is exported as an IfcWall (rme_basic 573660 and 573664), where the 2023 save now gives IfcCurtainWall (#1809)[/-] [+]Revit 2023 and 2024 export two single-cell curtain walls of rme_basic (573660, 573664) differently: IfcCurtainWall since #1809, IfcWall on 2024; no Revit export decides[/+] on Nov 14, 2026
  3. DrunkOnJava commented on Nov 14, 2026

    @DrunkOnJava
    OwnerAuthor

    Row 1, registered before the run: what the walls of a curtain wall type hold (RE-462). Probe probe_re462_curtain_wall_structure at 3e28f9f (branch research/1960-curtain-wall-structure), on the 2023 and 2024 saves of rac_basic, rac_advanced, rme_basic, rme_advanced (2024) and Snowdon Towers architectural, to be dispatched as a probe-only Measure (scorers=none, base=none, no export compared).

    What the three places that can be read say so far, none of it yet decisive:

    • Revit's exporter (revit-ifc, read for what it writes, not copied). In CurtainSystemExporter, IsCurtainSystem is true for a wall whose Revit curtain grid exists (the API's Wall.CurtainGrid), and ExporterUtil's choice of export type (its fourth step) then gives IfcCurtainWall. Nothing in it tests mullions or the number of cells. A wall that is a host panel of another curtain wall is not exported as itself: WallExporter.Export returns for a wall whose StackedWallOwnerId is a curtain wall, and GetVisiblePanelsForGrid folds a host panel that is itself a curtain wall into its owner's parts. Where the exporter writes nothing for a wall of a curtain wall type, it does not say why from the type alone.
    • Revit's own 2018 export of rac_basic (the public file, local only). The one-cell wall 708088 is an IFCCURTAINWALL with one IFCPLATE and four IFCMEMBER, so it has mullions: it does not test the mullion-free case. All nine curtain walls of that export have mullions.
    • Snowdon Towers architectural (2024). The 23 one-cell walls that Revit's export leaves out are exactly the 23 walls of the type 1005464 "Solar Wall Window Frame" (the other 42 curtain-type walls, of eight other types, have two to 60 cells and are all written).

    What the probe prints and what each outcome would show. For every wall of a curtain wall type: the classes of the objects its record holds, its cells and the panel of each, its grid lines and the mullions they list, and every other curtain wall that its record or its panels' records name. Prediction, set before the run: if the 23 Snowdon walls are host panels of other walls, the nested lines name them and name neither 573660 nor 573664, and the exporter's folding explains the absence; if they are not, the walls Revit leaves out need another explanation (design option, phase, a hidden workset) and rme_basic's two stay undecided by the file. Either way the result is a row here, and the rule that is wrong on a measured case is narrowed.

  4. DrunkOnJava commented on Nov 14, 2026

    @DrunkOnJava
    OwnerAuthor

    Row 1, read: 43542030075 (RE-462 probe at 3e28f9f, 14 models, exit 0 on all). The prediction held, and what separates the walls is not what #1960 first guessed.

    1. The 23 one-cell Snowdon walls are host panels of other curtain walls. Each is named by one panel of another curtain wall (seven owners: 1054769, 1054967, 1055165, 1055363, 1055452, 1055522, 1055717), and each is the only one of the file's 65 walls of a curtain wall type whose own record holds a HostPanelInfo object (m_panelId the owner's placeholder panel, m_scheduleAsPanel true). The 42 other curtain-type walls of that file, and every curtain-type wall of the other 13 models (rac_basic 9, rac_advanced 34, rme_basic 33, rme_advanced 33, on 2023 and 2024), have no HostPanelInfo and are named by no panel. So 573660 and 573664 are not host panels, and the 23 are the only ones that are.
    2. What 708088 has that 573660 lacks is mullions. The wall's own record holds a CGDriverMullionData whose m_mullionsByEdge lists four mullions on 708088 (708090 to 708093, one per edge of its single cell), and the records of 573660 and 573664 hold no such object. Revit's 2018 export of rac_basic writes 708088 as an IfcCurtainWall with one IfcPlate and four IfcMember. The probe's own columns for grid lines and Mullion records read 0 on all 252 walls, so they say nothing: they look for records that name the wall, and the mullions are in the wall's own record. That is the probe's gap, not a finding.
    3. What Revit writes for a host panel. Revit's own export of Snowdon has none of the 23 walls and none of their panels. For the first, 2339390, it has neither its panel (2339391) nor the owner's placeholder panel (1054987), while the nested wall's four mullions (2339403 to 2339406) are there as IfcMember parts of the owner (1054967, an IfcCurtainWall). That is what revit-ifc does: WallExporter.Export returns for a wall whose owner is a curtain wall, and GetVisiblePanelsForGrid folds a host panel that is itself a curtain wall into its owner's parts.
    4. What rvt-rs writes for them. In its 2024 export of Snowdon (kept exports of run 43535235103) the nested mullions and the owner are as Revit's, and each of the 23 walls is an IfcPlate carrying the wall's own Tag, which Revit's export has nothing for: 23 extras, a finding of its own.

    Where that leaves the two rules and #1960. revit-ifc decides by the curtain grid the wall has (a wall of a curtain wall type), with no test of mullions or cells, except for a host panel, which it folds into its owner. Against that, on the files that have Revit's export:

    Rule Walls of a curtain wall type that are not host panels Host panels
    Revit (source, IsCurtainSystem) IfcCurtainWall, with or without mullions not written as themselves
    Revit (measured) 9 of 9 on rac_basic (2018), 42 of 42 on Snowdon: IfcCurtainWall 23 of 23 on Snowdon: absent
    2023 rule (RE-440, by type) right where it was measured; would write a host panel as a curtain wall (no 2023 save holds one) unmeasured
    2024 rule (mullions or a grid found) misses the mullion-free single cell: IfcWall for 573660 and 573664, where Revit's rule gives IfcCurtainWall written as IfcPlate (Revit writes nothing)

    So neither rule is the exporter's, and the rule that is right on every measured file and equal to the exporter's source is a wall of a curtain wall type is an IfcCurtainWall unless its record holds a HostPanelInfo. The one case no Revit export measures is the one #1960 is about, the mullion-free single cell (573660, 573664): its IfcCurtainWall rests on the exporter's source, not on an export, and I say so wherever the change is recorded.

    Next, registered before any code. One change, on every release the rule is measured on: a wall of a curtain wall type with no HostPanelInfo is a curtain wall (on 2024 and later by type as well as by mullion or grid, on 2023 as now); a wall with HostPanelInfo is not one. Expected on Measure, unfiltered with the held-out models and the samples: the 2024 and later saves of rme_basic and rme_advanced gain two curtain walls each (573660 and 573664, one IfcPlate each, as the 2023 save already writes them), the 2023 saves of Autodesk's samples and every other export are byte-identical, Snowdon's exports are unchanged (the 23 stay as they are; their plates are a separate change), and the held-out models change only where they hold such a wall (counts only). If any other export moves, the change is narrowed until it does not.

  5. DrunkOnJava commented on Nov 14, 2026

    @DrunkOnJava
    OwnerAuthor

    Rows for the change's Measure, registered before it is dispatched or read (#1966 at c802574, draft: the 2024 to 2027 reader makes a wall of a curtain wall type a curtain wall unless its record holds a HostPanelInfo; the 2023 reader skips a host panel).

    What runs: one unfiltered Measure against main (samples, nordic, r2025, racadv, holdout, bimcollab, families, every scorer), and one filtered run with the exports of both sides kept for the rme_basic saves of 2023 and 2024.

    1. Only the files that hold a mullion-free single-cell curtain wall move. The exports that differ from main's are the 2024 to 2027 saves of rme_basic and rme_advanced and no other: the 2015 to 2023 saves, rac_basic, rac_advanced, rst_basic and rst_advanced of every year, Core Interior, Einhoven, RE1, the BIM4LCA models, the 24 Revit 2025 models, Snowdon Towers (all five files), BIMcollab, the racadv pairs and every held-out model are byte-identical (ifc.sha256 equal on both sides, counts only for the held-out ones). If a held-out model moves, it is reported as counts and read before anything lands.
    2. In each moved export the difference is the two walls and nothing else. 573660 and 573664 go from IfcWall (Wall-<id>) to IfcCurtainWall named Curtain Wall:Standard:<id>, their panels (573661, 573665) are aggregated to them, and no other element, property or quantity differs (the element diff of the kept exports, by Tag).
    3. The 2023 and 2024 saves of rme_basic then agree on every curtain wall. By Tag, name and type are equal on 33 of 33 curtain walls (31 of 33 before), the same check as fix(ifc): Revit 2023's ArcWall pattern no longer writes a curtain wall's panels and grid lines as walls, and Einhoven exports its curtain wall of 24 panels on its one Level (RE-440) #1809's.
    4. Snowdon Towers' export does not move, so the 23 host panels are neither written as walls nor as curtain walls by the change.
    5. The gates hold. The same-project gates, the semantic check and the schema and IfcOpenShell checks pass on the head, and the diagnostics of every moved export differ only in the two walls' counts.
    6. No cost worth a rule. The head's time over the base's is at most 1.05 on the samples timed (the change adds one read of the curtain wall types).

    If row 1 fails by a file moving that is not named, the change is narrowed until it does not; if row 2 fails, the difference is read before anything else is done.

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:ifcpriority:P2type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions