Repository navigation
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
Merged
Conversation
… the curtain parts that lose their wall name, and which one held each part before (#1865) On Autodesk's rac_advanced saved by Revit 2027, 80 curtain parts (79 corner mullions and a curtain door) are parts of a curtain wall in the 2025 save and of none in the 2027 save, and so lose the IsExternal they take from their wall. #1877's probe shows the symptom (every one stands in no wall) and cannot show why: it never reads the element records. RE-179 reads the cause as the lists naming both walls of the corner on 2027 and one on 2025, which RE-46's rule (exactly one) leaves without a whole. With one file the probe counts a file's curtain mullions and panels by how many curtain walls their lists name and how many of each are parts of a wall, counts only, so it can run on a held-out model. With two it prints, for each part that is a part of a curtain wall in the first save and of none in the second, the walls each save's list names, whether each named wall's record box contains the part's (as RE-62), and how often the first save's wall is among the second's, first or last of them, or the only one whose box holds the part. No src change. Part of #1865.
This was referenced Nov 13, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Nov 13, 2026
…nt data name their wall on two saves of one project, for the 80 curtain parts that lose their wall on 2027 (#1865) (#1890) ## Summary `probe_1865_grid_walls` prints, for the curtain parts that are a part of a curtain wall in one save of a project and of none in another, where in the data of the curtain grid their list names the curtain wall lies, on both saves. Part of #1865. ## Motivation #1879's probe found that the 80 curtain parts of Autodesk's `rac_advanced` that lose their wall on the 2027 save are 79 corner mullions, whose lists name two curtain walls on 2027 and one on 2025, and a curtain door whose list names one wall on both (run 43381092468). A curtain part takes the wall of the curtain grid its list names before anything else, a curtain door or window takes no other way in (RE-46), and the grid's element data names its wall at two offsets past its ElementId (`CURTAIN_GRID_WALL_OFFSETS`, 85 and 478, RE-72). If the 2027 grids hold their wall elsewhere, the grid lookup finds nothing on 2027, the mullions fall to RE-46's exactly-one rule and the door has nothing: one cause for all 80. Neither list order (57 of 79 name the 2025 wall first, 22 last) nor the record boxes (none holds the part) can pick the wall, so a rule that names the corner's host from the lists alone does not exist. ## Changes - `probes/examples/probe_1865_grid_walls.rs` (new): with two saves, finds the parts aggregated in the first and in no wall in the second (from the IFC exports, as `probe_1865_part_walls`), lists for each the ElementIds its list names that are no curtain wall, and for each such id the places its element data opens (the release's element-data header followed by the id) with the offsets past the id at which one of the part's curtain walls lies within 1,200 bytes. It prints the set of offsets seen on each save. ## Testing Unit tests are banned in this repository: none added. - [ ] A probe Measure run on Autodesk's samples (`samples=true`, `sample_years="2025 2027"`, `probe_pair_release=2027`, `models=core-interior`; the samples are Autodesk's and redistributable, and the lines name ElementIds): [43382999619](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43382999619) on `e15f8c5b`. The rows it is read against were registered on #1865 before the run ([comment](#1865 (comment))); the reading goes on #1865. - N/A: no `src/` change, so no gates verdict and no witness replay. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR (nothing user-visible changes) - N/A: no user-visible change, so no changelog fragment - N/A: no limitation resolved or introduced - [x] Commit messages describe WHAT changed and WHY - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files - [x] The probe under `probes/examples/` states its FACT ## Legal and contribution hygiene - [x] I agree this work is licensable under Apache-2.0 - [x] This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content. revit-ifc is not read for this change. - [x] No new test fixtures ## Breaking changes None. ## Related issues Refs #1865.
DrunkOnJava
added a commit
that referenced
this pull request
Nov 13, 2026
…no grid takes the wall the element data of one of its other ids names, and one that gets none takes the IsExternal its walls share (#1865) (RE-449) (#1896) ## Summary A curtain part that names two or more curtain walls and finds no grid takes the one wall that the element data of one of its other ids also names, where exactly one does; one that gets none stands alone and takes the `IsExternal` its walls share. This restores 74 of the 79 corner mullions of Autodesk's `rac_advanced` saved by Revit 2027 to their curtain wall, and all 79 to the `IsExternal`, the same project's 2025 save gives them. Part of #1865 (RE-449). **The rule reaches every file with such a part, not the 2027 sample alone.** Registered row 3 said it would not; I had read a census of 16 models as one of every model Measure holds. On the unfiltered run [43392439717](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43392439717) 15 of 146 exports change and no other (every held-out model, Core Interior, Einhoven, RE1 Architecture, the Snowdon samples and the 2024 to 2026 saves of `rac_advanced` are byte-identical): - `IfcMember` gains `Pset_MemberCommon.IsExternal`, the host rule's value (RE-288): 79 in each `rac_advanced` save of 2015, 2016, 2017 and 2027, 9 in 2020, 19 in 2021, 9 in 2023; 2 and 4 in the BIM4LCA offices. `parameter_value_count` moves by the same amounts, and nothing else in any diagnostics. - Two `IfcMember` of the BIM4LCA timber office are aggregated into the curtain walls Revit's own export names: `aggregates_vs_ifc` "same whole" 7,872 to 7,874 (permit 7,868 to 7,870), "only Revit aggregates" 4 to 2. - The `rac_advanced` saves of 2015 to 2022 now agree on 19,979 values and those of 2024 to 2027 on 21,035; the 2023 save stays six short (#1899). ## Motivation On `rac_advanced` saved by Revit 2027, 79 corner mullions (`L Corner Mullion:L Mullion 1`) are parts of a curtain wall on the 2025 save and of none on the 2027 save, and lose the `IsExternal` they take from their wall. The chain, each step read from a probe run registered on #1865 before it ran: - #1877 (run 43379354161): all 79 are standalone on 2027; no curtain wall differs between the saves; the 34 walls are all external on both. - #1879 (run 43381092468): each names one wall on 2025 and two on 2027 (the corner's), the 2025 wall among them; the order of the list does not pick it (first for 57, last for 22) and no record box holds a mullion (RE-62's rule finds nothing). - #1890 (runs 43382999619 and 43384818097): `attach_curtain_walls` matches `(grid walls, named walls)`: the 79 are `(0, 1)` on 2025 and `(0, 2)` on 2027, an arm it does not have. The element data of one other id of each list, its grid, names exactly one of the part's walls, and it is the 2025 wall for all 75 parts that have such an id, on both saves, at offsets that differ from RE-72's and move between releases (84 stays; the others move by 8 to 16 bytes). Five mullions have no such id. ## Changes - `src/research/partition_schema_mvp/curtain.rs`: - `scan_walls_in_element_data` (new): for the ids of the lists of the parts that name two or more curtain walls and no grid (79 in the 2027 sample; others in the files of the table above), the curtain walls whose ElementId lies at least twice within 1,200 bytes past the id, where the release's element-data header opens the data. No offset is fixed. - `attach_curtain_walls`: the arm `(0, 2 or more)`, which gave no wall before, takes the one wall of the part's list that the data names; `part_walls` is the shared definition of the two sets the match is made on. A part for which that gives no one wall keeps the walls it names (`m_curtain_walls_named`). A part that already had a wall never reaches the arm. - `attach_curtain_member_is_external`: a part with no wall takes the `IsExternal` all its named walls have, where each has one and they agree. - `src/research/partition_schema_mvp/fields.rs`: the window, the copies and the field's name. - `tools/re/ifc_bag_diff.py` (new): the entity lines two IFC exports hold only one of, with the step numbers left out, by entity type. Measure's semantic diff reads a sample of each class's property sets and did not show these members; this reads the whole files. - `reports/element-framing/RE-449-curtain-corner-mullions.md`, `docs/status.md`, `docs/support-matrix.json`, `changelog.d/fixed/1865-corner-mullion-walls.md`. ## Testing Unit tests are banned in this repository; the check is the end-to-end measurement registered on #1865 ([comment 6846957690](#1865 (comment))) before the change was written, read in `reports/element-framing/RE-449-curtain-corner-mullions.md` section 4: - [x] Row 1 (pair run [43386636537](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43386636537)): on `rac_advanced` 2027 the 34 curtain walls hold 4,458 parts, from 4,384, and 29 of them as many as on 2025; the other five walls are those of the 5 mullions and the door. - [x] Row 2: `is_external_lost IFCMEMBER` 79 to none on the 2025 to 2027 and 2026 to 2027 pairs; no other project's pair loses one. - [ ] **Row 3 failed**, and is not relabelled: 15 of 146 export hashes and 11 of 121 `diagnostics.json` differ, where the row allowed one. Run [43397936815](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43397936815) kept the IFC of eight of them: the only entities that differ are the `IsExternal` properties and, in the as-built timber office, two curtain walls' `IfcRelAggregates` (21 to 22 members) with the two storey containment lists that lose a member each. No Revit value scores the `IsExternal` values (RE-269, RE-288); the aggregates are scored by Revit's own export and improve. - [x] Row 4: the `same-project gates` check run on `8744d8d7` passes (15 samples held to their earlier saves; the Areas on 4 saves and on the 2021 save). The commits after it change documents and `tools/re` only. - [ ] This PR's CI. I cannot build locally (rule of this repository), so CI is the first compile of this change. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR - [x] A user-visible change has its entry as a fragment under `changelog.d/` - [x] If a limitation was resolved, the docs are updated (the 80 parts' entry in `docs/status.md`) - [x] Commit messages describe WHAT changed and WHY - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files - [x] Reverse-engineering finding: probes under `probes/examples/` (#1877, #1879, #1890) and the dated report `reports/element-framing/RE-449-*.md` ## Legal and contribution hygiene - [x] I agree this work is licensable under Apache-2.0 - [x] This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content. revit-ifc is not read for this change. - [x] No new test fixtures ## Breaking changes None to an API. A part that names two or more curtain walls and has no grid now takes a wall or an `IsExternal` where it took none, in the 15 exports listed in Summary. ## Related issues Refs #1865 (the curtain door 216844 has another cause and the issue stays open for it). Found on the way: #1899 (the 2023 save of `rac_advanced` is six values short).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
probe_1865_part_wallsprints, for each curtain part that is a part of a curtain wall in one save of a project and of none in another, the curtain walls each save's reference list names and which of them held the part before. With one file it counts a file's curtain mullions and panels by how many curtain walls their lists name, counts only. Part of #1865.Motivation
On Autodesk's
rac_advancedsaved by Revit 2027, 80 curtain parts (79L Mullion 1corner mullions and one curtain door) are parts of a curtain wall in the 2025 save and of none in the 2027 save, and so lose theIsExternalthey take from their wall (#1865). #1877's probe shows the symptom (every one stands in no wall, and no curtain wall differs between the saves) and cannot show why: it never reads the element records. RE-179 reads the cause as the lists naming both walls of the corner on 2027 and one on 2025, which RE-46's rule (exactly one named wall) leaves without a whole. The fix, if there is one, needs to know which of the two walls was the part's and whether anything in the record tells them apart.Changes
probes/examples/probe_1865_part_walls.rs(new):rvt-ifcdoes for the curtain walls and the parts aggregated into them;partition_element_records);Testing
Unit tests are banned in this repository: none added.
samples=true,sample_years="2025 2027",probe_pair_release=2027,models=core-interior; the samples are Autodesk's and redistributable, and the pair lines name ElementIds only there) and, for the counts, an unfiltered probe run with one file per model: 43381092468 on96fb3155(the pair run, whose per-model lines include the one-file counts of the samples). The rows it is read against were registered on Revit 2027 rac_advanced: 79 curtain members get no IsExternal where the 2025 and 2026 saves write it #1865 before the run (comment); the reading goes on Revit 2027 rac_advanced: 79 curtain members get no IsExternal where the 2025 and 2026 saves write it #1865.src/change, so no gates verdict and no witness replay.Audit-honesty checklist
probes/examples/states its FACTLegal and contribution hygiene
Breaking changes
None.
Related issues
Refs #1865 (the issue stays open until the 80 parts are fixed or stated as a measured negative).