Repository navigation
fix(elements): a wall's type Function is read on Revit 2026 and 2027, so walls and the curtain parts on them get IsExternal there (#1860) - #1861
Conversation
|
Unfiltered Measure 43336468164 at Row 1 holds. 15 of 126 exports differ:
Every other export is identical, and so is every other Row 2 holds, but one sample is short.
So the count this PR should empty is empty on every 2026 save and on four of the five 2027 saves. On 2027 Row 3 holds. These are the Revit exports of 2026 and 2027 models the run scores: flowbim's house and four other held-out models, counts only. Each moves only Docs. |
## Summary Release metadata for v0.20.0 (RELEASE.md, steps 4 to 7), cut from `main` at `925c482d` and merged with `main` up to `58395b62` (#1855, #1860, #1861, #1863, #1866, #1867 and #1868 among it): - every version file moves to 0.20.0 (`tools/release/bump_version.py`), and `CITATION.cff` is dated 2026-11-12; - the fragments under `changelog.d/` are assembled into a `[0.20.0]` section, with its introduction and "Upgrading from 0.19" (the work-budget bullet says a stop warns and the export is still written, as #1855 settled); - the README's release lines name v0.20.0; - Core Interior's two witness observations and verdicts, and the two synthetic IFC fixtures, are taken from CI's artifacts for `e10580d0`: only `witness_version`, the verdict hashes, the retired "Unmapped Revit unit identifiers" warning (RE-445) and an unset transparency (#1820) differ. Measured and rehearsed: - the comparison with 0.19.0 is in the section, from Measure runs [43357862138](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43357862138) (unfiltered, `58395b62` against `v0.19.0`'s `09b18bd3`: 49 of 146 exports move, 0 census regressions, 0 body regressions) and [43357979238](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43357979238) (timing: no file more than 3% slower except one that reads 0.98 in the earlier run of the same code, no peak higher by more than 2%, the samples of 2023 to 2027 at a median 0.76 times the peak memory). The release adds only notes, witness files, version strings and fixtures to `58395b62`, so a run of `main` is the run of the release; a run of this branch would move every export through the header's version string; - `publish.yml` rehearsal on `d9946f4b`: [43359414819](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43359414819) passed. Only the changelog changed since. **Why now.** `main` holds today's crafted-file and security fixes (#1815, #1831, #1833, #1845), and neither GlobalId move. #1850 is back in draft until the tag, and #1854's fix is #1859. Those two ship together in 0.21.0 (#1854 comment 6841360704). ## 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. - Timing against 0.19.0 is in the section, from run 43357979238 on `58395b62`. ## Related issues Release 0.20.0. Milestone `0.20.0`.
…at lose IsExternal between two saves and the curtain walls that hold them (#1865) (#1877) ## Summary `probe_1865_curtain_is_external` names the curtain members that lose `IsExternal` between 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_advanced` saved by Revit 2027, 79 curtain members get no `Pset_MemberCommon.IsExternal` where the 2025 save writes it; the 2026 save writes all 3,192 (#1865, found by #1861's Measure). A curtain member takes `IsExternal` from 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_read` 3), so the 79 may be the members of three walls. `readers_across_saves.py` counts the 79; it does not name them or their walls. ## Changes - `probes/examples/probe_1865_curtain_is_external.rs` (new): - exports both files as `rvt-ifc` does; - per curtain wall of each save prints its Tag, name and own `IsExternal`, how many parts it has and how many carry an `IsExternal`, then each part left without; - from the element diff (`rvt::ifc::element_diff`, #1843) prints each element whose `IsExternal` is written on the left and absent on the right, with the curtain wall it is aggregated into on the right (`wall=none` where into none), and what differs in the curtain walls between the saves. ## 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, no held-out model is run): [43379354161](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43379354161) on `4238f57b`. 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 79 are fixed or stated as a measured negative).
Summary
A wall's type Function is now read on Revit 2026 and 2027 saves as on 2015 to 2025. Walls there, and the curtain members, plates and curtain walls that take
IsExternalfrom their wall, get the value the same project's 2025 save gets. Closes #1860.Motivation
#1852's element diff of each 2025 sample against its 2026 save (run 43334394489) found
IsExternalpresent in the 2025 save and absent in the 2026 save on 4,643 elements ofrac_advanced, 244 ofrac_basic, 2,244 of eachrmesample and 9 walls ofrst_basic. It was never the other way round.WALL_TYPE_FUNCTION_REVIT_VERSIONSended at 2025, the last release measured when it was written, soattach_wall_type_functionsread nothing on 2026 and 2027.Changes
src/research/partition_schema_mvp/fields.rs:WALL_TYPE_FUNCTION_REVIT_VERSIONStakes 2026 and 2027, and its doc names what measures them.changelog.d/fixed/1860-wall-function-2026.md.docs/status.md: the 2026 and 2027 paragraph lists walls' and their curtain parts'IsExternalas written, not unread. RE-346 had left it open ("Some other release list or rule gates it"), and this is that list.Testing
Unit tests are banned here. The evidence is one unfiltered Measure of this head against its merge-base with
main: the samples of every year, the BIM4LCA models, the R2025 set,rac_advancedand the held-out models.readers_across_saves.py(part ofsame-project gates) already holds each 2026 and 2027 save'sPset_*Common.IsExternalto its 2025 save's. It fails a value that differs or one written only on the later save, and counts one written only on the 2025 save without failing. That count is what this PR should empty.Rows, registered before the run:
IsExternalvalues added to walls and to the curtain members, plates and curtain walls on them. Every other export anddiagnostics.jsonis equal except those files'IsExternalcounts.same-project gatespass, so noIsExternaldiffers from the 2025 save's, and none is written only on the later save. Reported per sample: theIsExternalvalues compared equal before and after.IsExternal"different" and "values Revit does not write" are unchanged or lower. Any line that moves is named here.rustfmt --edition 2024 --checkpasses. CI runs the rest.Audit-honesty checklist
docs/status.md's 2026 and 2027 paragraph.Legal and contribution hygiene
Breaking changes
None.