Repository navigation
research: probe_1865_curtain_is_external names the curtain members that lose IsExternal between two saves and the curtain walls that hold them (#1865) - #1877
Merged
Conversation
…at lose IsExternal between two saves and the curtain walls that hold them (#1865) On Autodesk's rac_advanced saved by Revit 2027, 79 curtain members get no Pset_MemberCommon.IsExternal where the 2025 save writes it, and the 2026 save writes all 3,192. A curtain member takes IsExternal from its curtain wall (attach_curtain_member_is_external), and the 2027 export's diagnostics differ from the 2026 export's in one curtain-wall line, so the 79 may be the members of three walls. The counts do not say. The probe prints, per curtain wall of each save, its own IsExternal and how many of its parts carry one, each part left without, each element that lost its IsExternal between the two saves with the curtain wall it is a part of (none where the right export aggregates it into no curtain wall), and what differs in the curtain walls between the saves. No src change. Part of #1865.
DrunkOnJava
enabled auto-merge (squash)
November 13, 2026 06:46
This was referenced Nov 13, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Nov 13, 2026
## Summary Release metadata for v0.21.0 (RELEASE.md, steps 4 to 7), cut from `main` at `9b7dee8c` and merged with `main` up to `b76ee16e`: - every version file moves to 0.21.0 (`tools/release/bump_version.py`), and `CITATION.cff` is dated 2026-11-13; - the five fragments under `changelog.d/` (#1843, #1838, #1840, #1854, #1871) are assembled into a `[0.21.0]` section, with its introduction, what is not measured, the comparison with 0.20.0 and "Upgrading from 0.20"; - the README's release lines name v0.21.0; - Core Interior's two witness observations and verdicts, and the two synthetic IFC fixtures, are taken from CI's artifacts for `10b0a299` (run 43382001273): only `witness_version`, the verdict hashes and the version strings of the IFC header and `IFCAPPLICATION` differ. **Why now.** The GlobalId pair (#1850 and #1859) is in `main`: the GlobalIds an export writes hold from one save of a project to the next, which 0.20.0 was cut without so that they ship together. `rvt-diff --elements` (#1843) and the `--redact` fix for Linux home folders (#1871) are in the same release, and #1874 corrects a warning that called deleted elements an incomplete IFC. Measured and rehearsed: - the comparison with 0.20.0 is in the section, from Measure runs [43381774360](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43381774360) (unfiltered, `main` at `9b7dee8c` against `v0.20.0`'s `9bb58fe1`: 146 of 146 exports move and `diagnostics.json` is equal on all 121 models that publish one; the MEP samples' `bodies_across_saves` goes from FAIL to PASS on 6 saves, and no other scorer output differs; that the exports move only in their GlobalIds is what #1850's and #1859's own line-by-line comparisons found, the run compares hashes) and [43381779893](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43381779893) (timing: 75 files at 0.94 to 1.06 times the time, median 1.00, and 0.99 to 1.01 times the peak memory). The release adds only notes, witness files, version strings and fixtures to `9b7dee8c`, apart from the probes and the one docs line (#1876, #1877, #1878, #1880) that landed after it and move no export; - `publish.yml` rehearsal on this branch: [43383528785](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43383528785), on `bfa6859c`; only the changelog has changed since. ## Testing - `python3 tools/release/changelog.py check` passes: no fragment is left. - `bump_version.py` checks the version files with the preflight's own `check_versions`. - The PII guard runs `release_preflight.py` on this PR. ## Related issues Release 0.21.0. Milestone `0.21.0`.
DrunkOnJava
added a commit
that referenced
this pull request
Nov 13, 2026
… the curtain parts that lose their wall name, and which one held each part before (#1865) (#1879) ## Summary `probe_1865_part_walls` prints, 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_advanced` saved by Revit 2027, 80 curtain parts (79 `L Mullion 1` corner 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 the `IsExternal` they 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): - exports each file as `rvt-ifc` does for the curtain walls and the parts aggregated into them; - reads the element records of walls, curtain mullions, panels, doors and windows, as the export's curtain pass does (`partition_element_records`); - one file: per class (mullion, panel), counts the parts by the number of curtain walls their list names (0, 1, 2, 3 or more) and how many of each are a part of a wall; - two files: per part aggregated in the first and not in the second, prints the walls each save's list names in list order, whether each named wall's record box contains the part's (within 0.05 ft, as RE-62), and counts how often the first save's wall is among the second's, first or last of them, or the only wall whose box holds the part. ## 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 pair lines name ElementIds only there) and, for the counts, an unfiltered probe run with one file per model: [43381092468](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43381092468) on `96fb3155` (the pair run, whose per-model lines include the one-file counts of the samples). 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 (the issue stays open until the 80 parts are fixed or stated as a measured negative).
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_curtain_is_externalnames the curtain members that loseIsExternalbetween two saves of one project, and the curtain walls that hold them. It reads nothing new: it puts #1865's question to the elements instead of to counts. Part of #1865.Motivation
On Autodesk's
rac_advancedsaved by Revit 2027, 79 curtain members get noPset_MemberCommon.IsExternalwhere the 2025 save writes it; the 2026 save writes all 3,192 (#1865, found by #1861's Measure). A curtain member takesIsExternalfrom its curtain wall (attach_curtain_member_is_external, RE-193, RE-269), and the 2027 export's diagnostics differ from the 2026 export's in one curtain-wall line (curtain_wall_box_not_read3), so the 79 may be the members of three walls.readers_across_saves.pycounts the 79; it does not name them or their walls.Changes
probes/examples/probe_1865_curtain_is_external.rs(new):rvt-ifcdoes;IsExternal, how many parts it has and how many carry anIsExternal, then each part left without;rvt::ifc::element_diff, Element-level diff of two saves: what was added, removed or changed, keyed by GlobalId (#1829) #1843) prints each element whoseIsExternalis written on the left and absent on the right, with the curtain wall it is aggregated into on the right (wall=nonewhere into none), and what differs in the curtain walls between the saves.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, no held-out model is run): 43379354161 on4238f57b. 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 79 are fixed or stated as a measured negative).