Repository navigation
docs(reader): reading an ElementId in a 4-byte Identifier moves three Revit 2023 exports, so each reader is admitted by itself (#1158) (RE-282) - #1181
Merged
Conversation
…ative reader (#1158) (RE-282)
This was referenced Oct 30, 2026
…admitted to a release (#1158) (RE-282) Reading it in every reader moved three Revit 2023 exports no export checks (connector ports on the 2023 samples, a material association on Einhoven); each reader is admitted on its own measurement instead.
… Revit 2023 exports, so each reader is admitted by itself (#1158) (RE-282)
DrunkOnJava
marked this pull request as ready for review
October 31, 2026 06:49
Owner
Author
|
Automated review (Claude Code review agent, run by the maintainer). Verdict: ready to merge. This pull request is research only, three docs files; the code change and its revert cancel out.
|
DrunkOnJava
enabled auto-merge (squash)
October 31, 2026 07:29
DrunkOnJava
added a commit
that referenced
this pull request
Oct 31, 2026
…roperty on Revit 2015 to 2023 (#1158) (RE-283) (#1182) ## Summary A wall's `IsExternal` and the project and shared parameters named for a standard property are written on Revit 2015 to 2023, experimentally. A wall's type Function (`BasicWallType.m_function`) is read from its native records, and parameters named `IsExternal`, `<set>.IsExternal` or for a property of one of IFC4's sets come from the saved parameters (RE-281), as the partition data gives them on 2024 and later. The Function is equal to the same project's later copy on 1,982 of 1,983 walls (24 pairs); against Revit's own exports it is Revit's value on all 114 walls of BIMcollab's Revit 2015 example (`IsExternal` and `LoadBearing`, from two parameters on the walls) and all 4 of modelo_bim's (a Revit 2023 file), where it was missing in full. ## Motivation #1158, "done when": measure the readers behind BIMcollab's 817 missing values on 2015 to 2022 against its Revit 2015 export and against the 2023 copies of Autodesk's samples. Reading every ElementId in either `Identifier` shape was tried first and moved three Revit 2023 exports no export checks (RE-282, #1181), so this reader reads the one id it needs itself. ## Changes - `src/research/native_wall_types.rs`: `NATIVE_RELEASES`, the wall's type id through `native_json::identifier_i64`. - `src/research/partition_schema_mvp/parameters.rs`, `fields.rs`, `partition_schema_mvp.rs`: `attach_native_named_parameters`, `attach_record_is_external` and `NATIVE_NAMED_PARAMETER_REVIT_VERSIONS` on the 2015-to-2023 record path; `WALL_TYPE_FUNCTION_REVIT_VERSIONS` is 2015 to 2025. Doors, windows and slabs get no `IsExternal` there: their Function is not read. - `probes/examples/probe_re283_wall_function_pairs.rs`; `tools/ci/scrub-holdout-results.sh` keeps the probe's count lines for a model without a licence. - `reports/element-framing/RE-283-wall-function-and-named-parameters-pre2024.md`, `changelog.d/added/wall-is-external-2015-2023.md`, README, `docs/status.md`, `docs/supported-profile.md`, `docs/release-1.0-criteria.md` (W7 measured now), `docs/support-matrix.json` (`ifc-is-external`) and a dated addendum in `docs/rvt-moat-break-reconnaissance.md`. ## Testing Unit tests are banned in this repository: none added. - [ ] `tools/check-local.sh` passes: this PR's CI. (No local build; `rustfmt --edition 2024 --check`, `python3 tools/release/changelog.py check` and `python3 tools/ci/api-doc-ids.py` pass.) - [x] Verified end to end on real Revit files, in the report: Measure [41138408822](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41138408822) (unfiltered: `-f base=main -f nordic=true -f r2025=true -f samples=true -f bimcollab=true -f holdout=true`, `9a133e1f` against `main` at `3811a654`, with the 2015-to-2022 samples against their 2023 copies), [41138447208](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41138447208) (2023 against 2024 copies) and [41146044699](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41146044699) (the exports of six 2015 samples diffed: only `IsExternal` on walls). BIMcollab and modelo_bim have no licence, so only counts left the runner. - [x] Witness verdicts: 94 exports, 58 byte-identical to main's; the 36 that moved are files of Revit 2015 to 2023. No Core Interior export moves. - [ ] Performance change: not measured on its own. ## Audit-honesty checklist - [x] README and the docs reflect the current state: experimental on 2015 to 2022; the Function path is tested on a Revit export only by modelo_bim's 4 walls (BIMcollab's parameters decide all of its walls) - [x] Changelog fragment under `changelog.d/added/` - [x] Limitations are in the report (section 5) and this body - [x] Commit messages describe what changed and why - [x] No emojis, no private paths or personal email addresses in committed files - [x] A reproducible probe and a dated addendum to `docs/rvt-moat-break-reconnaissance.md` are included ## Legal and contribution hygiene - [x] I agree this work is licensable under Apache-2.0 - [x] No Autodesk proprietary source, decompiled internals, or NDA'd SDK content - [x] No test fixtures were added Contributor declaration (`CLEANROOM.md`): based on public byte observations of Autodesk's published sample projects, BIMcollab's public example project and the held-out models, rvt-rs's own readers and its prior reports; revit-ifc was read and cited (a parameter named for a property is read before anything else), not copied. No Autodesk SDK source, ODA SDK source, leaked internal documentation, NDA material, or decompiled internal Revit implementation code was used. ## Breaking changes None (`rvt::research` is outside the semver promise). ## Screenshots or output samples 36 of 94 exports of the unfiltered run move: the 33 samples of Revit 2015 to 2023, Einhoven, BIMcollab and modelo_bim; each gains `IsExternal` on its exported walls. Every file of 2024 to 2027 is identical. ## Related issues Refs #1158. Follows #1175 (RE-281); see #1181 (RE-282).
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.
Research only (a report, a changelog fragment and a reconnaissance addendum). Reading an ElementId in either shape in every native reader leaves 91 of 94 exports of Measure's unfiltered run byte-identical (all 30 samples of 2015 to 2022, every file of 2024 to 2027) and moves three Revit 2023 files no export checks (36 and 30 connector ports, wall layer sets); the code change was reverted and each reader reads its ids itself when admitted (RE-283 onward). Measure 41130410404 and 41135570857. Refs #1158.