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
Revit 2027 rac_advanced: 79 curtain members get no IsExternal where the 2025 and 2026 saves write it #1865
On Autodesk's rac_advanced sample saved by Revit 2027, 79 curtain members get no Pset_MemberCommon.IsExternal, where the same project's 2025 save writes one. The same project's 2026 save writes all 3,192, as the 2025 save does.
Found by #1861's unfiltered Measure (43336468164), which reads a wall's type Function on 2026 and 2027 (#1860). readers_across_saves.py on the 2027 save counts IfcMember Pset_MemberCommon.IsExternal: equal 3113, differ 0, only here 0, only there 79. On 2026 it counts equal 3192 ... only there 0. Nothing is written wrong: the 79 are left out.
The lead. The 2027 export's diagnostics differ from the 2026 export's in one line that touches curtain walls:
exported.wall_cut_openings_left_out.curtain_wall_box_not_read is 3 on 2027 and absent on 2026.
On 2026, curtain_wall_within_half_foot_of_wall_end is 3 instead.
So on 2027 three curtain walls' boxes are not read. The 2027 export's parameter_value_count is exactly 79 lower than 2026's (20,956 against 21,035). Whether the 79 members are those three curtain walls' is the first question.
Done when
The 79 members are named, with the curtain wall and the wall each takes IsExternal from.
What 2027 does not read for them is found: the curtain wall's box, its host wall, or another link.
Rows for probe_1865_curtain_is_external (#1877) on rac_advanced's 2025 sample against its 2027 save, registered before the run. The run is main at 7e7b69b7 plus the probe (4238f57b), on the samples of 2025 and 2027 with probe_pair_release=2027.
The probe names the 79.is_external_lost IFCMEMBER=79 and no other entity, with 79 is_external_lost_element lines. Any other count means the probe and readers_across_saves.py count different things, and that is read before anything else.
They are the parts of few curtain walls. Every one of the 79 names a wall (wall= is never none), and on the 2027 save curtain_walls side=right shows without_is_external=79 walls_holding_them=3: the three walls the diagnostics' curtain_wall_box_not_read already points to. On the 2025 save without_is_external=0. More than 3 walls, or a part under no wall, means that lead is wrong.
The curtain_wall_change lines name what else differs for the three walls between the saves. I expect a body or placement field, the one the curtain_wall_box_not_read count follows, and no property of Pset_CurtainWallCommon.
If 1 to 3 hold, the next step is a probe of the decoded fields of those three walls (their class, IsExternal field and the member's whole), since the export's own IsExternal rule is read from them. If one fails, that row is read first and the next step follows from it.
Row 5, added before the run of #1877 is read, from a lead I have checked against the report it cites (rvtDevelop's batch 5 found it; the quote is in reports/element-framing/RE-179-revit-2027-element-records.md §5): RE-179 already names this set. The 79 are corner mullions (L Mullion 1, rac_advanced) whose reference lists name both walls of the corner on 2027 and one wall on 2026, so RE-46's rule (exactly one) leaves them standalone on 2027, and a mullion's IsExternal comes only through its link to its curtain wall (attach_curtain_member_is_external). #1861 only exposed it: before it, no 2026 or 2027 curtain wall carried IsExternal.
If that is the cause, the probe shows it this way, and rows 2 and 3 as registered above do not hold:
The 79 are standalone on 2027. All 79 is_external_lost_element lines read wall=none. curtain_walls side=left counts 79 more parts than side=right, and walls_holding_them is 0 on both sides (every part that is aggregated carries its wall's value). The 79 are IFCMEMBER named L Mullion 1.
If row 5 holds, the question left is which wall a mullion that names two takes, and whether Revit's export gives the two walls of a corner the same IsExternal (then the choice does not change the value). That is read on the saves where a corner's two walls differ, if any, before any rule changes.
The rows, read on 43379354161 (4238f57b, #1877): row 1 holds, rows 2 and 4 do not, row 3 is moot, row 5 holds with two differences.
Holds.is_external_lost IFCMEMBER=79, no other entity, 79 is_external_lost_element lines, every one L Corner Mullion:L Mullion 1:<id>.
Does not hold: the three-wall lead was wrong. All 79 read wall=none: on the 2027 save none is aggregated into any curtain wall (walls_holding_them=0). The walls they leave are six, by each wall's part count on the two saves: 139855 (-9), 139856 (-9), 140003 (-18), 140009 (-18), 140015 (-24) and 162524 (-1), which sum to 79.
Moot, and a finding on its own. No wall holds a part without IsExternal on the 2027 save, but all 34 curtain walls read is_external=true on both saves, so the walls' own value is not what is lost.
Does not hold. No curtain_wall_change line: no curtain wall differs between the two saves in any field. I expected a body or placement field.
Holds for what it says, with two differences. All 79 are standalone on 2027 and all are L Mullion 1. But the 2025 save counts 80 more parts under walls than the 2027 save (4,464 against 4,384), not 79, and walls_holding_them is 1 on the 2025 side, not 0. The 80th is a curtain door, M_Curtain Wall Sgl Glass (216844), a part of wall 162023 on the 2025 save and of none on 2027; it carries no IsExternal on either save, which is why it is not in the 79.
So #1865 is a loss of aggregation (80 parts), of which the 79 IsExternal values are the visible half; the other half is that those parts are contained in a storey on 2027 where 2025 aggregates them. The probe shows that every one stands alone. It does not show why: it never reads the element records, which is what RE-179 reads (the lists name both walls of the corner on 2027 and one on 2025, so RE-46's rule leaves them without a whole).
Rows for probe_1865_part_walls (#1879), registered before its run (main at be4c4fbe plus the probe 96fb3155, the samples of 2025 and 2027, probe_pair_release=2027):
It finds the same 80.corner_parts_lost n=80: 79 IFCMEMBER and one IFCDOOR.
RE-179's reading holds for the mullions. Each of the 79 has one curtain wall in left_named and two in right_named, and host_in_right_named is at least 79: the 2025 wall is still named on 2027, with one more. I have no expectation for the door.
List order does not tell the walls apart.host_first and host_last are each below 79 (a rule by position would reproduce the 2025 wall on all of them, and I expect neither does).
Boxes may. I have no expectation for box_picks_host, box_picks_other, box_ties and box_none; they are what a rule like RE-62's would do for two named walls.
No other model in the run is affected. The one-file counts (curtain_parts) show aggregated_named2=0 on every sample and Core Interior: parts that name two walls are standalone wherever they occur, and named2 is above 0 only on the 2027 rac_advanced.
What each outcome decides. If host_first, host_last or box_picks_host reaches 80 with the door counted (or 79 with it left out), a rule reproduces the 2025 wall on 2027, and before it is written it is checked on every model where two named walls occur and Revit's export aggregates. If none does, the narrower change is the one the facts allow: a part that names two or more curtain walls takes IsExternal when every one of them has the same value (all 34 here are true) and keeps no whole, and the aggregation loss is stated as a measured negative in the docs.
The rows of #1879, read on 43381092468 (96fb3155): rows 1 to 3 and 5 hold, row 4 has its answer, and the door has a different cause from what I assumed.
Holds.corner_parts_lost n=80: 79 IFCMEMBER (L Corner Mullion:L Mullion 1) and one IFCDOOR (216844).
Holds. Each of the 79 names one curtain wall on the 2025 save (the wall that held it) and two on the 2027 save, the 2025 wall among them. They lie on 9 corners (12 mullions on two of them, 9 on six and 1 on the last), and each corner's two walls are the same for all its mullions: 140015 holds 24 mullions on the corners with 140012 and 140018, 140003 holds 18 (with 140006 and 155419), 140009 18 (with 139858 and 156408), 139855 9 (with 149877), 139856 9 (with 148422) and 162524 1 (with 157669). The other wall of a corner is a different one for each, and not always the lower or higher ElementId.
Holds. The 2025 wall is first in the 2027 list for 57 of the 79 and last for 22, so list order tells nothing.
Boxes cannot either.box_none=80: none of the 80 parts' record boxes lies within 0.05 ft inside either named wall's record box, so RE-62's containment finds no wall for a corner mullion, as it would for a part that names none.
Holds. The one-file counts of the run's 16 models show named2 above 0 on the 2027 rac_advanced's mullions only (79, aggregated_named2=0), named3plus=0 everywhere, and on the 2025 save every mullion that names one wall is aggregated (3,156 of 3,156) and every one that names none is not (120).
What it adds. The door names one curtain wall on both saves, and that wall is the one that held it on 2025. A curtain door or window takes its wall only through the grid its list names (RE-46), so on 2027 the door's grid is not found. The corner mullions on 2025 would have been aggregated either way (one named wall); on 2027, a grid found would have taken precedence over the exactly-one rule and aggregated them as well. So one cause fits all 80 parts: the grid lookup finds nothing on 2027 (scan_curtain_grid_walls reads the wall at offsets 85 and 478 past the grid's ElementId, RE-72, measured on 2024 and 2025). If so, the fix is the 2027 offsets, not a rule for two walls, and the corner's host is read from the grid as Revit has it.
Rows for probe_1865_grid_walls (#1890), registered before its run (main at b76ee16e plus the probe e15f8c5b, the samples of 2025 and 2027, probe_pair_release=2027):
It finds the same 80: 80 lost_part lines, 79 IFCMEMBER and one IFCDOOR.
RE-72's offsets hold on 2025.grid_offsets side=left lists 85,478 for at least the door's grid (the door has no other way into a wall), and for most of the mullions' grids.
They do not hold on 2027.grid_offsets side=right lists one other set of offsets for the same parts, the same for all of them, or - where the wall is not within 1,200 bytes of the grid's data (the header or the id framing would then differ). If it lists 85,478 on 2027 as well, the hypothesis is wrong and the lookup works: the cause is elsewhere and the next step is the grid ids themselves.
The fix, if row 3 holds, is the 2027 offsets as a per-release constant beside the header, with these rows for its PR: the 80 parts take their wall and the 79 their IsExternal on the 2027 save, rac_advanced's pair then lists no loss of aggregation or IsExternal between 2025 and 2027, and every other export hash and diagnostics.json equal to main's on one unfiltered run (no other release reads the new constant).
The rows of #1890, read on 43382999619 (e15f8c5b): row 1 holds, row 2 does not, row 3 holds in part and shows the offsets move, and row 4's fix is not yet established.
Holds. 80 lost_part lines: 79 IFCMEMBER and one IFCDOOR.
Does not hold: RE-72's offsets are on neither save. Past the grid's ElementId (the convention of scan_curtain_grid_walls), the curtain wall is named at 84, 539, 930 and 1130 on the 2025 save for the grids of 74 of the mullions, and at 84, 583, 976 and 1190 for the door's grid, not at 85 and 478. Each part's list names one grid with data (75 parts do, 74 mullions and the door), and 5 mullions name none that has any on either save (162801, 183114, 183316, 183402, 197365).
The offsets move on 2027, as I expected, but they were never RE-72's. The same grids on the 2027 save hold the wall at 84, 531, 914 and 1114 (the door's at 84, 575, 960, 1174): 84 stays, the others move by 8, 16 and 16 bytes. A lookup that reads two fixed offsets finds the wall in one of these layouts only if its offsets are that layout's.
The fix is not the 2027 offsets alone. If the lookup read 85 and 478 on the 2025 save, it could not find these grids, yet the 2025 save aggregates all 80 parts: the mullions through their one named wall, and the door through some route I have not found, since a curtain door takes no wall but its grid's (attach_curtain_walls). RE1's grids (RE-72's evidence) have another layout than rac_advanced's, so the offsets are per grid kind, not per release.
Next, rows registered before the run (probe_1865_grid_lookup, added to #1890; the same pair, the samples of 2025 and 2027):
It reproduces the production rule for the 80 parts on each save: for each part, the curtain walls its list names (named) and the walls its grids give at RE-72's offsets 85 and 478 (on_grid), the two numbers attach_curtain_walls matches on ((on_grid, named): (1, _) takes the grid's wall, (0, 1) the named one, (0, 0) the box container, anything else none).
On the 2025 save, on_grid is empty for the 79 mullions (their grids are not RE-72's kind) and each has named of 1: they aggregate by (0, 1). The door shows its route: on_grid of 1 if RE-72's offsets do find its grid after all, and I will read what else it can be if not.
On the 2027 save, named is 2 for the 79 and on_grid is empty: (0, 2), which no arm takes. The door names one wall and has the same on_grid as on 2025, so it should aggregate as on 2025; that it does not is what the door's line has to explain.
The lookup rows of #1890, read on 43384818097 (9516ece3): rows 1 and 2 hold, row 3 holds for the 79 mullions and not for the door. The cause for the 79 is found, and a rule for their wall has evidence on both saves.
Holds. The probe reproduces attach_curtain_walls' match for the 80 parts: (on_grid, named) per part and per save.
Holds, and corrects me about the door. On the 2025 save on_grid is empty for all 80 (RE-72's offsets find none of these grids), and each part names one curtain wall: all 80 are (0, 1), which takes the named wall. That includes the door (216844), so it is aggregated on 2025 by the named arm, not by a grid; I had said a curtain door has no other way in.
Holds for the mullions. On the 2027 save the 79 are (0, 2), an arm the match does not have, so they stand alone. The door is (0, 1) on 2027 as on 2025 and is still not aggregated: its loss has another cause, not this one. It is one element, kept apart on this issue.
A rule for the corner's wall. The grid probe's data already holds one: for each of the 75 parts whose list has an id with element data naming one of its curtain walls, exactly one of the part's named walls lies in that data, on the 2025 save and on the 2027 save, and it is the wall that held the part on 2025 (75 of 75 on each save, no part with two). Five mullions (162801, 183114, 183316, 183402, 197365) have no such id on either save. So "the named wall that the element data of one of the part's other ids also names, if exactly one does" gives the 2025 wall for 74 of the 79 and nothing for the other 5, and it needs no fixed offset: the data names the wall four times, at offsets that move between grid kinds and releases (84 stays, the others move).
Rows for its change, registered before it is written (attach_curtain_walls; no Measure before the change exists):
On the 2027 save of rac_advanced, 74 of the 79 corner mullions take the curtain wall they took on 2025, and the other 5 and the door stand alone. The probe's pair then lists the 74 as parts of the same wall on both saves.
Each of the 79 gets Pset_MemberCommon.IsExternal: the 74 from their wall, the 5 from the agreement of their two walls (both true; a part whose walls disagree gets none). is_external_lost IFCMEMBER goes from 79 to 0 on the 2025 to 2027 pair.
Rows 1 and 2 of the change, read on the pair run 43386636537 (f21e8d33, #1896): both hold. Rows 3 and 4 are on the unfiltered run 43392439717 (head 8744d8d7, base b979b791), not yet read.
Holds. The 34 curtain walls of the 2027 rac_advanced hold 4,458 parts, 74 more than before the change (4,384). 29 of the 34 hold exactly as many parts as on the 2025 save. The five that differ lose the six parts that stand alone: 140003 (1), 140009 (1), 140015 (2) and 162524 (1), one corner mullion each of the five without a grid id, and 162023 (1), the door 216844, which no row asked to change. Against the 2026 save the same four walls differ and 162023 does not (the 2026 save leaves the door out of its wall too).
Holds.is_external_lost is empty on the 2025 to 2027 and 2026 to 2027 pairs of all five projects (from 79 IFCMEMBER on rac_advanced), and no wall has a part without IsExternal on 2027 (without_is_external=0 on all 34; the 2025 save has the door's one).
No expectation of this change failed. The one that failed earlier is the three walls, in the comment before.
Counts are per wall, which does not prove that each mullion sits under the wall it took on 2025; the rule does: for 75 of 75 parts, the one wall of the list that the part's grid data names is the wall that held it on 2025. Rows 3 (every other export hash and diagnostics.json equal to main's) and 4 (the same-project gates pass on the 2027 rac_advanced) follow from the unfiltered run.
The change's rows, read on the pair run 43386636537 and the unfiltered run 43392439717 (8744d8d7 against b979b791): rows 1, 2 and 4 hold, row 3 does not.
Holds. On rac_advanced's 2027 save the 34 curtain walls hold 4,458 parts, from 4,384; 29 of the 34 hold as many as on the 2025 save, and the five that differ are the walls of the 5 mullions without a grid id and of the door.
Holds.is_external_lost IFCMEMBER goes from 79 to none on the 2025 to 2027 and 2026 to 2027 pairs, and no other project's pair loses one.
Holds. The same-project gates check run passes: 15 samples held to their earlier saves, and the Areas on 4 saves and on the 2021 save.
What the 14 gained, read on the IFC of eight of the fifteen (run 43397936815, the same two commits with the IFC kept, compared with the new tools/re/ifc_bag_diff.py, which counts entity lines with their step numbers removed):
The only entities that differ are Pset_MemberCommon property sets of IfcMember gaining IsExternal: 79 on each of the 2015, 2016, 2017 saves (true), 9 on 2020, 19 on 2021, 9 on 2023, 2 on the as-built office (true), 4 on the as-built timber office (false). parameter_value_count moves by the same amounts, in the permit offices too (2 and 4).
In the as-built timber office also two curtain walls' IfcRelAggregates gain a member each (21 to 22) and two storey containment lists lose one each (344 to 343, 343 to 342). aggregates_vs_ifc, scored against Revit's own export: IfcMember "only Revit aggregates" 4 to 2 and "same whole" 7,872 to 7,874 (permit 7,868 to 7,870). The two members now sit under the wall Revit puts them under.
No IsExternal of these can be scored: Revit's export writes it on curtain members as an artefact of its exporter's order (RE-269), the census counts those values apart, and psets_vs_ifc does not move on any model. They are the host rule's value (RE-288), written only where every wall the part names has one and they agree.
The same project's saves now agree: parameter_value_count of rac_advanced is 19,979 on 2015 to 2022 (from 19,900 on 2015 to 2017, 19,970 on 2020, 19,960 on 2021) and 21,035 on 2024 to 2027 (from 20,956 on 2027). The 2023 save is 19,973, six short: #1899.
The change stays as it is: every difference is an IsExternal value the host rule gives or a wall Revit's export agrees with, and nothing else in the eight files read moved. The report (RE-449, section 4a), the changelog entry, docs/status.md, the support matrix and the PR description say it reaches those 14 exports.
The curtain door 216844: why it loses its wall on 2027, read on the kept exports of run 43424342015 (rac_advanced 2025 and 2027), and the rows for the change, registered before its run.
What the two exports say. On the 2025 save the door M_Curtain Wall Sgl Glass:216844 is a part of the curtain wall 162023: one IfcRelAggregates names the wall and its mullions and the door, and the door has no spatial containment of its own. On the 2027 save the IfcRelAggregates of 162023 holds the mullions and not the door, and the door is contained in the storey directly. The wall, the door's property sets and its type are the same on both.
Why. RE-449 stated that this door "names that one wall on both saves and is (0, 1) on both, so the match gives it the wall on both". That holds for the curtain mullions and panels (products in attach_curtain_walls), and a door is not one of them. Doors and windows are the openings of that function, and they take a curtain wall only through a curtain grid: (1 grid wall) -> that wall, and nothing else. The grid comes from scan_curtain_grid_walls, whose offsets (RE-72, 85 and 478) are the ones RE-449 found do not hold on 2027. So the door lost its grid on 2027 for the reason the mullions lost theirs, and the data fallback RE-449 added never reaches openings. The probe that said otherwise (probe_1865_part_walls) counts the door among the parts; I should have checked which list the door is in.
The change (PR to follow): an opening with no grid whose list names exactly one curtain wall takes that wall, the (0, 1) arm products have. Not the data-confirmed arm for two or more: no opening is known to need it.
Rows, registered before its run (an unfiltered Measure against the merge-base):
The 2027 rac_advanced aggregates the door 216844 into 162023, as the 2025 and 2026 saves do, and it carries the IsExternal its wall gives.
No door or window that a grid already gives a wall changes wall: the 2024 to 2026 saves of rac_advanced and every model whose openings have a grid are byte for byte as before.
Where a Revit export exists (the BIM4LCA offices and housing, the held-out models), no door or window is aggregated into a wall Revit's export does not put it under: aggregates_vs_ifc shows no new different for IfcDoor or IfcWindow, and the openings it newly aggregates are counted, with how many Revit aggregates the same way. If an ordinary door in a regular wall names a curtain wall in its list and takes it, the rule is narrowed or dropped and this comment says so.
The 2015 to 2023 saves are a finding either way: if a door that the grid does not find there gets a wall, it is counted and compared with the 2024 to 2026 saves of the same project.
The first form of the door change failed two of its registered rows (run 43425870343, PR #1911 at cedf41be).
The form was: an opening with no grid whose list names exactly one curtain wall takes that wall.
Row 2 failed. I wrote that no model whose openings have a grid would move. 52 of 146 exports changed (94 identical) and 2 of 121 diagnostics files: the rule fires wherever an opening names one curtain wall and finds no grid, not only on 2027, and on every release from 2015 on, which the row did not allow for.
Row 3 could not be scored, and the one score there was reads wrong.aggregates_vs_ifc counts IfcMember, IfcPlate, IfcCurtainWall, IfcStairFlight and IfcRailing and not IfcDoor or IfcWindow, so the row named a count that was never there. The other scorers that see openings do move on the spent Vitoria 2018 model, which has a Revit export: the openings rvt-rs writes 133 to 132 (Revit's 136), opening_hosts_vs_ifc "the wall Revit fills" 130 to 129 and "no host; Revit fills an opening" 3 to 4, and one door off "mirror rule wrong". One opening that Revit puts in an ordinary wall took a curtain wall: a door or window in an ordinary wall can name a curtain wall in its list. So naming the wall alone is not enough for an opening.
Rows 1 and 4 were not read on this form (the exports are in the run; the form is dropped).
What changes.aggregates_vs_ifc now counts IfcDoor and IfcWindow (PR #1911, c7aa1522), and the rule takes the named wall only where the element data of an id in the opening's list names that wall too, as RE-449 does for a mullion (c5a32881). Revised rows, registered after the two runs were dispatched and before either was read (43429686082: the first form, now scored on doors; 43429692923: the data-confirmed form):
On the data-confirmed form the 2027 rac_advanced aggregates the door 216844 into 162023 and it carries the IsExternal its wall gives.
Every door and window that Revit's export puts in an ordinary wall stays in it: opening_hosts_vs_ifc and openings_vs_ifc do not move on the spent Vitoria 2018 model or on any other model with a Revit export.
On the models with a Revit export, aggregates_vs_ifc shows for IfcDoor and IfcWindow no new different whole; the openings newly aggregated are counted, and how many Revit aggregates the same way. The first form's run, scored on doors, says how many of its additions that was.
Exports that change are listed by release: the data header exists on 2024 and later, so the 2015 to 2023 saves are expected not to change on this form.
The 80 parts of this issue are settled. The 79 corner mullions: 74 are parts of their curtain wall again and the 5 whose lists name no wall stand alone and carry the IsExternal their walls share (#1896, RE-449). The curtain door 216844: openings took a curtain wall only through the grid, whose offsets (RE-72) are not found on 2027, and RE-449's fallback never reached them; #1911 (RE-452) gives an opening with no grid the one curtain wall its list names where the element data of an id in the list names it too, and the door is a part of 162023 on 2027 with the IsExternal its wall gives, as on 2025 and 2026. RE-449's statement that the door's match gave it the wall on both saves was wrong and RE-452 says so. The first form of the rule failed two registered rows (52 of 146 exports moved, and one door of the spent Vitoria 2018 model was put in a curtain wall Revit leaves it out of) and is reported in RE-452 as a measured negative. What the offices still leave out, 84 doors that Revit aggregates, is #1912.
Activity
docs(evidence): Revit 2026 walls' and their curtain parts' IsExternal…
DrunkOnJava commentedon Nov 13, 2026
Rows for
probe_1865_curtain_is_external(#1877) onrac_advanced's 2025 sample against its 2027 save, registered before the run. The run ismainat7e7b69b7plus the probe (4238f57b), on the samples of 2025 and 2027 withprobe_pair_release=2027.is_external_lost IFCMEMBER=79and no other entity, with 79is_external_lost_elementlines. Any other count means the probe andreaders_across_saves.pycount different things, and that is read before anything else.wall=is nevernone), and on the 2027 savecurtain_walls side=rightshowswithout_is_external=79 walls_holding_them=3: the three walls the diagnostics'curtain_wall_box_not_readalready points to. On the 2025 savewithout_is_external=0. More than 3 walls, or a part under no wall, means that lead is wrong.IsExternalis written on both saves. Thecurtain_walllines of the three walls readis_external=trueorfalseon both sides, equal, because Revit 2027 rac_advanced: 79 curtain members get no IsExternal where the 2025 and 2026 saves write it #1865's counts list nothing else lost. The members would then fail to inherit a value the wall has, so the read to find is in howattach_curtain_member_is_externalfinds the wall on 2027, not in the wall's type Function (Revit 2026 and 2027: a wall's type Function is not read, so walls and the curtain parts on them lose the IsExternal their 2025 save has (4,643 elements of rac_advanced) #1860).is_external=absenton the right for these walls means the opposite and moves the read to the wall.curtain_wall_changelines name what else differs for the three walls between the saves. I expect a body or placement field, the one thecurtain_wall_box_not_readcount follows, and no property ofPset_CurtainWallCommon.If 1 to 3 hold, the next step is a probe of the decoded fields of those three walls (their class,
IsExternalfield and the member's whole), since the export's ownIsExternalrule is read from them. If one fails, that row is read first and the next step follows from it.DrunkOnJava commentedon Nov 13, 2026
Row 5, added before the run of #1877 is read, from a lead I have checked against the report it cites (rvtDevelop's batch 5 found it; the quote is in
reports/element-framing/RE-179-revit-2027-element-records.md§5): RE-179 already names this set. The 79 are corner mullions (L Mullion 1,rac_advanced) whose reference lists name both walls of the corner on 2027 and one wall on 2026, so RE-46's rule (exactly one) leaves them standalone on 2027, and a mullion'sIsExternalcomes only through its link to its curtain wall (attach_curtain_member_is_external). #1861 only exposed it: before it, no 2026 or 2027 curtain wall carriedIsExternal.If that is the cause, the probe shows it this way, and rows 2 and 3 as registered above do not hold:
is_external_lost_elementlines readwall=none.curtain_walls side=leftcounts 79 morepartsthanside=right, andwalls_holding_themis 0 on both sides (every part that is aggregated carries its wall's value). The 79 areIFCMEMBERnamedL Mullion 1.If row 5 holds, the question left is which wall a mullion that names two takes, and whether Revit's export gives the two walls of a corner the same
IsExternal(then the choice does not change the value). That is read on the saves where a corner's two walls differ, if any, before any rule changes.research: probe_1865_curtain_is_external names the curtain members th…
DrunkOnJava commentedon Nov 13, 2026
The rows, read on 43379354161 (
4238f57b, #1877): row 1 holds, rows 2 and 4 do not, row 3 is moot, row 5 holds with two differences.is_external_lost IFCMEMBER=79, no other entity, 79is_external_lost_elementlines, every oneL Corner Mullion:L Mullion 1:<id>.wall=none: on the 2027 save none is aggregated into any curtain wall (walls_holding_them=0). The walls they leave are six, by each wall's part count on the two saves: 139855 (-9), 139856 (-9), 140003 (-18), 140009 (-18), 140015 (-24) and 162524 (-1), which sum to 79.IsExternalon the 2027 save, but all 34 curtain walls readis_external=trueon both saves, so the walls' own value is not what is lost.curtain_wall_changeline: no curtain wall differs between the two saves in any field. I expected a body or placement field.L Mullion 1. But the 2025 save counts 80 more parts under walls than the 2027 save (4,464 against 4,384), not 79, andwalls_holding_themis 1 on the 2025 side, not 0. The 80th is a curtain door,M_Curtain Wall Sgl Glass(216844), a part of wall 162023 on the 2025 save and of none on 2027; it carries noIsExternalon either save, which is why it is not in the 79.So #1865 is a loss of aggregation (80 parts), of which the 79
IsExternalvalues are the visible half; the other half is that those parts are contained in a storey on 2027 where 2025 aggregates them. The probe shows that every one stands alone. It does not show why: it never reads the element records, which is what RE-179 reads (the lists name both walls of the corner on 2027 and one on 2025, so RE-46's rule leaves them without a whole).Rows for
probe_1865_part_walls(#1879), registered before its run (mainatbe4c4fbeplus the probe96fb3155, the samples of 2025 and 2027,probe_pair_release=2027):corner_parts_lost n=80: 79IFCMEMBERand oneIFCDOOR.left_namedand two inright_named, andhost_in_right_namedis at least 79: the 2025 wall is still named on 2027, with one more. I have no expectation for the door.host_firstandhost_lastare each below 79 (a rule by position would reproduce the 2025 wall on all of them, and I expect neither does).box_picks_host,box_picks_other,box_tiesandbox_none; they are what a rule like RE-62's would do for two named walls.curtain_parts) showaggregated_named2=0on every sample and Core Interior: parts that name two walls are standalone wherever they occur, andnamed2is above 0 only on the 2027rac_advanced.What each outcome decides. If
host_first,host_lastorbox_picks_hostreaches 80 with the door counted (or 79 with it left out), a rule reproduces the 2025 wall on 2027, and before it is written it is checked on every model where two named walls occur and Revit's export aggregates. If none does, the narrower change is the one the facts allow: a part that names two or more curtain walls takesIsExternalwhen every one of them has the same value (all 34 here are true) and keeps no whole, and the aggregation loss is stated as a measured negative in the docs.DrunkOnJava commentedon Nov 13, 2026
The rows of #1879, read on 43381092468 (
96fb3155): rows 1 to 3 and 5 hold, row 4 has its answer, and the door has a different cause from what I assumed.corner_parts_lost n=80: 79IFCMEMBER(L Corner Mullion:L Mullion 1) and oneIFCDOOR(216844).140015holds 24 mullions on the corners with140012and140018,140003holds 18 (with140006and155419),14000918 (with139858and156408),1398559 (with149877),1398569 (with148422) and1625241 (with157669). The other wall of a corner is a different one for each, and not always the lower or higher ElementId.box_none=80: none of the 80 parts' record boxes lies within 0.05 ft inside either named wall's record box, so RE-62's containment finds no wall for a corner mullion, as it would for a part that names none.named2above 0 on the 2027rac_advanced's mullions only (79,aggregated_named2=0),named3plus=0everywhere, and on the 2025 save every mullion that names one wall is aggregated (3,156 of 3,156) and every one that names none is not (120).What it adds. The door names one curtain wall on both saves, and that wall is the one that held it on 2025. A curtain door or window takes its wall only through the grid its list names (RE-46), so on 2027 the door's grid is not found. The corner mullions on 2025 would have been aggregated either way (one named wall); on 2027, a grid found would have taken precedence over the exactly-one rule and aggregated them as well. So one cause fits all 80 parts: the grid lookup finds nothing on 2027 (
scan_curtain_grid_wallsreads the wall at offsets 85 and 478 past the grid's ElementId, RE-72, measured on 2024 and 2025). If so, the fix is the 2027 offsets, not a rule for two walls, and the corner's host is read from the grid as Revit has it.Rows for
probe_1865_grid_walls(#1890), registered before its run (mainatb76ee16eplus the probee15f8c5b, the samples of 2025 and 2027,probe_pair_release=2027):lost_partlines, 79IFCMEMBERand oneIFCDOOR.grid_offsets side=leftlists85,478for at least the door's grid (the door has no other way into a wall), and for most of the mullions' grids.grid_offsets side=rightlists one other set of offsets for the same parts, the same for all of them, or-where the wall is not within 1,200 bytes of the grid's data (the header or the id framing would then differ). If it lists85,478on 2027 as well, the hypothesis is wrong and the lookup works: the cause is elsewhere and the next step is the grid ids themselves.IsExternalon the 2027 save,rac_advanced's pair then lists no loss of aggregation orIsExternalbetween 2025 and 2027, and every other export hash anddiagnostics.jsonequal tomain's on one unfiltered run (no other release reads the new constant).DrunkOnJava commentedon Nov 13, 2026
The rows of #1890, read on 43382999619 (
e15f8c5b): row 1 holds, row 2 does not, row 3 holds in part and shows the offsets move, and row 4's fix is not yet established.lost_partlines: 79IFCMEMBERand oneIFCDOOR.scan_curtain_grid_walls), the curtain wall is named at 84, 539, 930 and 1130 on the 2025 save for the grids of 74 of the mullions, and at 84, 583, 976 and 1190 for the door's grid, not at 85 and 478. Each part's list names one grid with data (75 parts do, 74 mullions and the door), and 5 mullions name none that has any on either save (162801, 183114, 183316, 183402, 197365).attach_curtain_walls). RE1's grids (RE-72's evidence) have another layout thanrac_advanced's, so the offsets are per grid kind, not per release.Next, rows registered before the run (
probe_1865_grid_lookup, added to #1890; the same pair, the samples of 2025 and 2027):named) and the walls its grids give at RE-72's offsets 85 and 478 (on_grid), the two numbersattach_curtain_wallsmatches on ((on_grid, named):(1, _)takes the grid's wall,(0, 1)the named one,(0, 0)the box container, anything else none).on_gridis empty for the 79 mullions (their grids are not RE-72's kind) and each hasnamedof 1: they aggregate by(0, 1). The door shows its route:on_gridof 1 if RE-72's offsets do find its grid after all, and I will read what else it can be if not.namedis 2 for the 79 andon_gridis empty:(0, 2), which no arm takes. The door names one wall and has the sameon_gridas on 2025, so it should aggregate as on 2025; that it does not is what the door's line has to explain.research: probe_1865_grid_walls also reproduces attach_curtain_walls'…
DrunkOnJava commentedon Nov 13, 2026
The lookup rows of #1890, read on 43384818097 (
9516ece3): rows 1 and 2 hold, row 3 holds for the 79 mullions and not for the door. The cause for the 79 is found, and a rule for their wall has evidence on both saves.attach_curtain_walls' match for the 80 parts:(on_grid, named)per part and per save.on_gridis empty for all 80 (RE-72's offsets find none of these grids), and each part names one curtain wall: all 80 are(0, 1), which takes the named wall. That includes the door (216844), so it is aggregated on 2025 by the named arm, not by a grid; I had said a curtain door has no other way in.(0, 2), an arm the match does not have, so they stand alone. The door is(0, 1)on 2027 as on 2025 and is still not aggregated: its loss has another cause, not this one. It is one element, kept apart on this issue.A rule for the corner's wall. The grid probe's data already holds one: for each of the 75 parts whose list has an id with element data naming one of its curtain walls, exactly one of the part's named walls lies in that data, on the 2025 save and on the 2027 save, and it is the wall that held the part on 2025 (75 of 75 on each save, no part with two). Five mullions (162801, 183114, 183316, 183402, 197365) have no such id on either save. So "the named wall that the element data of one of the part's other ids also names, if exactly one does" gives the 2025 wall for 74 of the 79 and nothing for the other 5, and it needs no fixed offset: the data names the wall four times, at offsets that move between grid kinds and releases (84 stays, the others move).
Rows for its change, registered before it is written (
attach_curtain_walls; no Measure before the change exists):rac_advanced, 74 of the 79 corner mullions take the curtain wall they took on 2025, and the other 5 and the door stand alone. The probe's pair then lists the 74 as parts of the same wall on both saves.Pset_MemberCommon.IsExternal: the 74 from their wall, the 5 from the agreement of their two walls (bothtrue; a part whose walls disagree gets none).is_external_lost IFCMEMBERgoes from 79 to 0 on the 2025 to 2027 pair.diagnostics.jsonis equal tomain's on one unfiltered run: the rule reaches only a part whose list names two or more curtain walls and finds no grid, and no other model in Measure has one (the census of research: probe_1865_part_walls prints the curtain walls the lists of the curtain parts that lose their wall name, and which one held each part before (#1865) #1879's run).rac_advanced, bodies and areas.docs(re): RE-449 reports the corner mullions that name two curtain wa…
docs(re): RE-449 reads rows 1 and 2 of the change on the pair run, an…
DrunkOnJava commentedon Nov 13, 2026
Rows 1 and 2 of the change, read on the pair run 43386636537 (
f21e8d33, #1896): both hold. Rows 3 and 4 are on the unfiltered run 43392439717 (head8744d8d7, baseb979b791), not yet read.rac_advancedhold 4,458 parts, 74 more than before the change (4,384). 29 of the 34 hold exactly as many parts as on the 2025 save. The five that differ lose the six parts that stand alone: 140003 (1), 140009 (1), 140015 (2) and 162524 (1), one corner mullion each of the five without a grid id, and 162023 (1), the door 216844, which no row asked to change. Against the 2026 save the same four walls differ and 162023 does not (the 2026 save leaves the door out of its wall too).is_external_lostis empty on the 2025 to 2027 and 2026 to 2027 pairs of all five projects (from 79IFCMEMBERonrac_advanced), and no wall has a part withoutIsExternalon 2027 (without_is_external=0on all 34; the 2025 save has the door's one).No expectation of this change failed. The one that failed earlier is the three walls, in the comment before.
Counts are per wall, which does not prove that each mullion sits under the wall it took on 2025; the rule does: for 75 of 75 parts, the one wall of the list that the part's grid data names is the wall that held it on 2025. Rows 3 (every other export hash and
diagnostics.jsonequal tomain's) and 4 (the same-project gates pass on the 2027rac_advanced) follow from the unfiltered run.1 remaining item
research: probe_1865_grid_walls prints where the curtain grids' eleme…
docs(re): RE-449 reads the unfiltered run: row 3 failed, 14 more expo…
DrunkOnJava commentedon Nov 13, 2026
The change's rows, read on the pair run 43386636537 and the unfiltered run 43392439717 (
8744d8d7againstb979b791): rows 1, 2 and 4 hold, row 3 does not.rac_advanced's 2027 save the 34 curtain walls hold 4,458 parts, from 4,384; 29 of the 34 hold as many as on the 2025 save, and the five that differ are the walls of the 5 mullions without a grid id and of the door.is_external_lost IFCMEMBERgoes from 79 to none on the 2025 to 2027 and 2026 to 2027 pairs, and no other project's pair loses one.main's and 11 of 121diagnostics.json; the row allowed one (the 2027rac_advanced). The other 14: the 2015, 2016, 2017, 2020, 2021 and 2023 saves ofrac_advanced, the fourracadv-*models of the same project, and the four BIM4LCA offices. I took the census of research: probe_1865_part_walls prints the curtain walls the lists of the curtain parts that lose their wall name, and which one held each part before (#1865) #1879's run, 16 models (core-interiorand the 2025 and 2027 samples), for every model Measure holds, and it held neither the 2015 to 2023 samples nor the offices.same-project gatescheck run passes: 15 samples held to their earlier saves, and the Areas on 4 saves and on the 2021 save.What the 14 gained, read on the IFC of eight of the fifteen (run 43397936815, the same two commits with the IFC kept, compared with the new
tools/re/ifc_bag_diff.py, which counts entity lines with their step numbers removed):Pset_MemberCommonproperty sets ofIfcMembergainingIsExternal: 79 on each of the 2015, 2016, 2017 saves (true), 9 on 2020, 19 on 2021, 9 on 2023, 2 on the as-built office (true), 4 on the as-built timber office (false).parameter_value_countmoves by the same amounts, in the permit offices too (2 and 4).IfcRelAggregatesgain a member each (21 to 22) and two storey containment lists lose one each (344 to 343, 343 to 342).aggregates_vs_ifc, scored against Revit's own export:IfcMember"only Revit aggregates" 4 to 2 and "same whole" 7,872 to 7,874 (permit 7,868 to 7,870). The two members now sit under the wall Revit puts them under.IsExternalof these can be scored: Revit's export writes it on curtain members as an artefact of its exporter's order (RE-269), the census counts those values apart, andpsets_vs_ifcdoes not move on any model. They are the host rule's value (RE-288), written only where every wall the part names has one and they agree.parameter_value_countofrac_advancedis 19,979 on 2015 to 2022 (from 19,900 on 2015 to 2017, 19,970 on 2020, 19,960 on 2021) and 21,035 on 2024 to 2027 (from 20,956 on 2027). The 2023 save is 19,973, six short: #1899.The change stays as it is: every difference is an
IsExternalvalue the host rule gives or a wall Revit's export agrees with, and nothing else in the eight files read moved. The report (RE-449, section 4a), the changelog entry,docs/status.md, the support matrix and the PR description say it reaches those 14 exports.fix(elements): the curtain wall scan takes the element-data header's …
fix(elements): a curtain part that names two curtain walls and finds …
DrunkOnJava commentedon Nov 13, 2026
The curtain door 216844: why it loses its wall on 2027, read on the kept exports of run 43424342015 (
rac_advanced2025 and 2027), and the rows for the change, registered before its run.What the two exports say. On the 2025 save the door
M_Curtain Wall Sgl Glass:216844is a part of the curtain wall 162023: oneIfcRelAggregatesnames the wall and its mullions and the door, and the door has no spatial containment of its own. On the 2027 save theIfcRelAggregatesof 162023 holds the mullions and not the door, and the door is contained in the storey directly. The wall, the door's property sets and its type are the same on both.Why. RE-449 stated that this door "names that one wall on both saves and is
(0, 1)on both, so the match gives it the wall on both". That holds for the curtain mullions and panels (productsinattach_curtain_walls), and a door is not one of them. Doors and windows are theopeningsof that function, and they take a curtain wall only through a curtain grid:(1 grid wall) -> that wall, and nothing else. The grid comes fromscan_curtain_grid_walls, whose offsets (RE-72, 85 and 478) are the ones RE-449 found do not hold on 2027. So the door lost its grid on 2027 for the reason the mullions lost theirs, and the data fallback RE-449 added never reaches openings. The probe that said otherwise (probe_1865_part_walls) counts the door among the parts; I should have checked which list the door is in.The change (PR to follow): an opening with no grid whose list names exactly one curtain wall takes that wall, the
(0, 1)arm products have. Not the data-confirmed arm for two or more: no opening is known to need it.Rows, registered before its run (an unfiltered Measure against the merge-base):
rac_advancedaggregates the door 216844 into 162023, as the 2025 and 2026 saves do, and it carries theIsExternalits wall gives.rac_advancedand every model whose openings have a grid are byte for byte as before.aggregates_vs_ifcshows no newdifferentforIfcDoororIfcWindow, and the openings it newly aggregates are counted, with how many Revit aggregates the same way. If an ordinary door in a regular wall names a curtain wall in its list and takes it, the rule is narrowed or dropped and this comment says so.ci(measure): aggregates_vs_ifc scores a curtain wall's door and windo…
fix(elements): an opening with no grid takes the one curtain wall its…
DrunkOnJava commentedon Nov 13, 2026
The first form of the door change failed two of its registered rows (run 43425870343, PR #1911 at
cedf41be).The form was: an opening with no grid whose list names exactly one curtain wall takes that wall.
aggregates_vs_ifccountsIfcMember,IfcPlate,IfcCurtainWall,IfcStairFlightandIfcRailingand notIfcDoororIfcWindow, so the row named a count that was never there. The other scorers that see openings do move on the spent Vitoria 2018 model, which has a Revit export: the openings rvt-rs writes 133 to 132 (Revit's 136),opening_hosts_vs_ifc"the wall Revit fills" 130 to 129 and "no host; Revit fills an opening" 3 to 4, and one door off "mirror rule wrong". One opening that Revit puts in an ordinary wall took a curtain wall: a door or window in an ordinary wall can name a curtain wall in its list. So naming the wall alone is not enough for an opening.What changes.
aggregates_vs_ifcnow countsIfcDoorandIfcWindow(PR #1911,c7aa1522), and the rule takes the named wall only where the element data of an id in the opening's list names that wall too, as RE-449 does for a mullion (c5a32881). Revised rows, registered after the two runs were dispatched and before either was read (43429686082: the first form, now scored on doors; 43429692923: the data-confirmed form):rac_advancedaggregates the door 216844 into 162023 and it carries theIsExternalits wall gives.opening_hosts_vs_ifcandopenings_vs_ifcdo not move on the spent Vitoria 2018 model or on any other model with a Revit export.aggregates_vs_ifcshows forIfcDoorandIfcWindowno newdifferent whole; the openings newly aggregated are counted, and how many Revit aggregates the same way. The first form's run, scored on doors, says how many of its additions that was.docs(re): RE-452 reads the door 216844 of rac_advanced 2027 and the r…
fix(elements): a door or window with no curtain grid found takes the …
DrunkOnJava commentedon Nov 13, 2026
The 80 parts of this issue are settled. The 79 corner mullions: 74 are parts of their curtain wall again and the 5 whose lists name no wall stand alone and carry the
IsExternaltheir walls share (#1896, RE-449). The curtain door 216844: openings took a curtain wall only through the grid, whose offsets (RE-72) are not found on 2027, and RE-449's fallback never reached them; #1911 (RE-452) gives an opening with no grid the one curtain wall its list names where the element data of an id in the list names it too, and the door is a part of 162023 on 2027 with theIsExternalits wall gives, as on 2025 and 2026. RE-449's statement that the door's match gave it the wall on both saves was wrong and RE-452 says so. The first form of the rule failed two registered rows (52 of 146 exports moved, and one door of the spent Vitoria 2018 model was put in a curtain wall Revit leaves it out of) and is reported in RE-452 as a measured negative. What the offices still leave out, 84 doors that Revit aggregates, is #1912.