Repository navigation
feat(reader): saved parameters and the phase order are read on Revit 2015 to 2022, and the Element base on a 4-byte Identifier (#1158) (RE-281) - #1175
Merged
Conversation
…2015 to 2022, and the Element base on a 4-byte Identifier (#1158) (RE-281) native_element::decode_base takes Identifier as m_id (4 bytes, 2015 to 2023) or m_id64 (2024 on); native_document admits 2015 to 2027 to the readers that name NATIVE_RELEASES in Options::releases (saved parameters, the phase order) and keeps 2023 to 2027 for every other reader; group_records takes the 2015 to 2017 declared body size (bodies plus 4 per record). The extensible-storage catalogue and VarSketch records of those releases still refuse.
…ement's native record names, against Revit 2015's export (#879) (RE-281)
… parameters, and the scorer finds the one that names a storey (#879) (RE-281)
… Levels the Element bases name (#879) (RE-281)
…nd value against the same project's later copy (#1158) (RE-281)
…lds when it is not a Level an Element base names (#879) (RE-281)
…ey elevations (#879) (RE-281)
…moved on (#1158) (RE-281)
…DME say saved parameters are read from Revit 2015 (#1158) (RE-281)
3 tasks done
Owner
Author
|
Owner review:
Armed. |
DrunkOnJava
added a commit
that referenced
this pull request
Oct 30, 2026
…per line, so pull requests changing different values stop conflicting (#1177) ## Summary Every W6 or W7 change edits one table cell, a single line of 1,800 and 5,400 characters, so any two open pull requests that add a value conflict, and each landing put the others in conflict again (#1152, #1163, #1170 today). This moves the two "value now" cells into sections below the table, `### W6 measured now` and `### W7 measured now`, with one sentence or list item per line. Markdown joins the lines of a paragraph with spaces, so the page reads the same: joined back, each section is byte-identical to the cell it replaces (checked by script against `main`). The table's cell now links to its section; the requirement, bar and status stay in the table. ## Changes - `docs/release-1.0-criteria.md`: the two cells moved, an HTML comment in each section saying why the lines break where they do, and one sentence in "Keeping this page". ## Testing Docs only. Checked by script that the text of each section, its lines joined by spaces, equals the cell on `main` (b17d628) exactly, that no line begins with Markdown list, heading, quote or table syntax, and that every other line of the page is unchanged. `tools/maintainer/audit.py` reads the page only for the issue numbers it cites, which are all still there. ## Audit-honesty checklist - [x] No status, bar or measured value changes - [x] Changelog fragment: not needed (layout of a docs page) - [x] No emojis, no private paths or personal addresses in committed files ## Related issues None; open W6 and W7 pull requests (#1166, #1171 to #1175) move their additions into the new sections when they next merge `main`.
# Conflicts: # docs/release-1.0-criteria.md
…s cost on 2015 to 2023 (#1158) (RE-281)
DrunkOnJava
marked this pull request as ready for review
October 30, 2026 21:08
DrunkOnJava
enabled auto-merge (squash)
October 30, 2026 21:08
This was referenced Oct 30, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Oct 31, 2026
… Revit 2015 to 2023 (#1158) (RE-284) (#1183) ## Summary A wall's `Pset_WallCommon.ExtendToStructure` is written on Revit 2015 to 2023, experimentally, from the same flag of its native record that RE-228 reads on 2024 and 2025 (a `JoinToRoofGStep` with `m_baseOrTop` 1). It is equal to the same project's later copy on all 1,983 walls both files hold (24 pairs), and Revit's own exports agree on the 114 walls of BIMcollab's Revit 2015 example and the 4 of modelo_bim (a Revit 2023 file), which are all false. ## Motivation #1158, "done when": measure the readers behind BIMcollab's missing values on 2015 to 2022 against its Revit 2015 export and against the 2023 copies of Autodesk's samples. BIMcollab's 114 `ExtendToStructure` values were missing (RE-281 section 4). ## Changes - `src/research/native_walls.rs`: `wall_top_joins` (the flag alone, `Options::releases` = `NATIVE_RELEASES`) and `is_top_joined`, shared with `native_walls_and_top_joins`. - `src/research/partition_schema_mvp/walls.rs`, `fields.rs`, `partition_schema_mvp.rs`: `attach_wall_top_joins` on the releases in `WALL_TOP_JOIN_RECORD_REVIT_VERSIONS` (2015 to 2023), called in the 2015-to-2023 record path. Nothing else a wall's native record gives on 2024 and later (height, top cut, side quantities) is read there. - `probes/examples/probe_re284_wall_top_join_pairs.rs`; `tools/ci/scrub-holdout-results.sh` keeps its count lines for a model without a licence. - `reports/element-framing/RE-284-wall-top-join-pre2024.md`, `changelog.d/added/wall-extend-to-structure-2015-2023.md`, README, `docs/status.md`, `docs/supported-profile.md`, `docs/release-1.0-criteria.md` (W7 measured now) 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 [41137770745](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41137770745) (unfiltered: `-f base=main -f nordic=true -f r2025=true -f samples=true -f bimcollab=true -f holdout=true`, `51e74588` against `main` at `3811a654`, with the 2015-to-2022 samples against their 2023 copies) and [41138445109](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41138445109) (2023 against 2024 copies). BIMcollab and modelo_bim have no licence, so only counts left the runner. - [x] Witness verdicts: no Core Interior export moves (94 exports: 58 identical, the 36 that moved are files of Revit 2015 to 2023), so no observation moves. - [ ] Performance change: not measured on its own; the reader is one pass over the wall records. ## Audit-honesty checklist - [x] README and the docs reflect the current state: experimental on 2015 to 2022; the joined value is measured against an export on 2024 and 2025 only - [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. No Autodesk SDK source, ODA SDK source, leaked internal documentation, NDA material, or decompiled internal Revit implementation code was used, and nothing was copied or translated from revit-ifc. ## Breaking changes None (`rvt::research` is outside the semver promise; one function is added). ## Screenshots or output samples 36 of 94 exports of the unfiltered run gain an `ExtendToStructure` per wall (the files of Revit 2015 to 2023 with walls); the rest are byte-identical. ## Related issues Refs #1158. Follows #1175 (RE-281).
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.
Summary
Saved parameters and the project's phase order are read on Revit 2015 to 2022 (#1158), experimentally.
native_element::decode_basetookIdentifierfor Revit 2024's 8-bytem_id64and refused the Element base of every 2015 to 2023 record; it takes the 4-bytem_idtoo, which also lets the phase order read on Revit 2023 for the first time. On Autodesk's 23 projects with a 2023 copy, 932,645 parameters read by name and value equal the copy's and 243 differ, each an edit between the saves. Every export is unchanged: the phase order reads on all 33 sample projects of 2015 to 2023 and Einhoven and no element of any is left out of the last phase. Every other native reader stays on 2023 to 2027, and the extensible-storage catalogue and 2015 to 2017VarSketchrecords still refuse. #879's footings name no Level (RE-281 §5).Motivation
#1158 and its "done when": admit the releases the RE-280 measurement covers and measure the readers built on them there, parameters by name and value against the newer copy, and on BIMcollab the footings' Level against Revit 2015's export (#879).
Changes
src/research/native_element.rs,native_json.rs(identifier_i64): the Element base takes either shape ofIdentifier.src/research/native_document.rs:NATIVE_RELEASES(2015 to 2027),Options::releases(default 2023 to 2027, the old gate, for every reader that does not name it), andgroup_recordstakes the 2015 to 2017 declared body size (bodies plus 4 per record, RE-280 §4).src/research/native_element_parameters.rs,native_phases.rs: the two readers measured on 2015 to 2022 nameNATIVE_RELEASES. Their comments,elements::parameters,rvt-elementsandrvt-pysay 2015 to 2027.probes/examples/probe_re281_native_levels.rs,probe_re281_parameter_pairs.rs,tools/re/native_levels_vs_ifc.py: the measurement.tools/ci/scrub-holdout-results.shkeeps their counts, and BIMcollab's property set census counts (standardPset_andQto_names only), for a model without a licence.reports/element-framing/RE-281-native-admission.md,changelog.d/added/saved-parameters-2015-2022.md, the support matrix (native-element-parameters,ifc-revit-property-sets), README,docs/status.md,docs/supported-profile.md,docs/contribution-map.md,docs/release-1.0-criteria.mdand a dated addendum indocs/rvt-moat-break-reconnaissance.md.Testing
Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.
tools/check-local.shpasses: this PR's CI. (No local build: Measure builds it.rustfmt --edition 2024 --check,python3 tools/release/changelog.py checkandtools/ci/api-doc-ids.pypass.)src/as this branch), 41118620685 (parameters by name against the 2023 copies), 41118961781 and 41119973943 (BIMcollab's Levels and footings), and the unfiltered run on this branch against its own base, 41122598346: 91 models and samples, every IFC hash identical, no scorer or info file differs. BIMcollab has no licence, so only counts left the runner.rvt-ifcis unchanged on Core Interior and the four RE1 models (0.96 to 1.01) and takes 0.04 to 0.5 s longer on each file of 2015 to 2023, the two native passes those releases did not make before (RE-281 section 6).Audit-honesty checklist
changelog.d/added/--revit-property-setson 2015 to 2022 is written from parameters no export checksprobes/examples/and a dated addendum todocs/rvt-moat-break-reconnaissance.mdare includedLegal and contribution hygiene
Contributor declaration (
CLEANROOM.md): the changes in this PR are based on public byte observations of Autodesk's published sample projects and BIMcollab's public example project, rvt-rs's own readers and its prior reports. I have not used Autodesk SDK source, ODA SDK source, leaked internal documentation, NDA material, or decompiled internal Revit implementation code beyond public symbol exports, and I have not copied or translated code from revit-ifc.Breaking changes
rvt::research(outside the semver promise):native_document::Optionsgains the fieldreleases. None for the stable API.Screenshots or output samples
No IFC output changed on any file measured.
Related issues
Refs #1158, #879. Follows #1168 (RE-280).