Repository navigation
feat(ifc): write a wall's ExtendToStructure from its native record on Revit 2015 to 2023 (#1158) (RE-284) - #1183
Merged
Conversation
…ative reader (#1158) (RE-282)
… Revit 2015 to 2023 (#1158) (RE-284)
…a licence (#1158) (RE-284)
…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.
…status (#1158) (RE-284)
DrunkOnJava
marked this pull request as ready for review
October 30, 2026 23:13
# Conflicts: # README.md
Owner
Author
|
Automated review (Claude Code review agent, run by the maintainer). Verdict: ready to merge, nothing blocking.
|
DrunkOnJava
enabled auto-merge (squash)
October 31, 2026 06:53
DrunkOnJava
added a commit
that referenced
this pull request
Oct 31, 2026
…ir IsExternal on Revit 2015 to 2023 (#1158) (RE-285) (#1226) ## Summary Write `LoadBearing` (true) in the common set of every structural column and structural framing element, as revit-ifc's `LoadBearingCalculator` gives it from the category alone (CLEANROOM.md source 5, read and cited), unless a parameter named for it says otherwise. On Revit 2015 to 2023, experimentally, also write their `IsExternal`, not external: the last step of `CategoryUtil.IsElementExternal`. Related: #1158. This is the stopped #1158 agent's RE-285 work, rebuilt on `main` after RE-283 (#1182) and RE-284 (#1183) landed. It replaces #1184. ## Changes - `partition_schema_mvp`: `LOAD_BEARING_CLASSES`, `attach_load_bearing` on both record paths, and `IS_EXTERNAL_LAST_STEP_RECORD_CLASSES`, which now names the same two classes. - `ifc::export_content::add_load_bearing` writes it where IFC4's set defines `LoadBearing`. - `probes/examples/probe_re285_flag_candidates.rs`, `tools/re/native_flags_vs_ifc.py` (counts only for unlicensed files), and the held-out scrub, which keeps their count lines. - The RE-285 report, the W7 line, the supported profile and `changelog.d/added/structural-load-bearing.md`. ## Testing Unit tests are banned here; none added. RE-285's own runs (41138533136, unfiltered with the samples, BIMcollab and the held-out models) measured: - BIMcollab's Revit 2015 export: 91 of 91 beams and 15 of 15 columns for each property. - modelo_bim (Revit 26.2's exporter): 8 of 8 beams and columns for `IsExternal`, and 8 of 9 for `LoadBearing`. - The BIM4LCA office as built: one column gains Revit's value. None is different. Measure [41206921249](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41206921249) ran the rebuilt change unfiltered against `main`, with the samples, BIMcollab and the held-out models. BIMcollab gains 212 equal values, modelo_bim 32 (`LoadBearing` on all 9 beams and 9 columns, the ninth through RE-286's type objects), and the office as built 1. Nothing new is different, and nothing is written that Revit's export leaves out. 58 exports move: BIMcollab, modelo_bim, the two offices and the 2015 to 2027 samples. ## Legal and contribution hygiene - [x] Apache-2.0. revit-ifc was read and cited only (CLEANROOM.md source 5). ## Breaking changes None.
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
A wall's
Pset_WallCommon.ExtendToStructureis written on Revit 2015 to 2023, experimentally, from the same flag of its native record that RE-228 reads on 2024 and 2025 (aJoinToRoofGStepwithm_baseOrTop1). 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
ExtendToStructurevalues were missing (RE-281 section 4).Changes
src/research/native_walls.rs:wall_top_joins(the flag alone,Options::releases=NATIVE_RELEASES) andis_top_joined, shared withnative_walls_and_top_joins.src/research/partition_schema_mvp/walls.rs,fields.rs,partition_schema_mvp.rs:attach_wall_top_joinson the releases inWALL_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.shkeeps 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 indocs/rvt-moat-break-reconnaissance.md.Testing
Unit tests are banned in this repository: none added.
tools/check-local.shpasses: this PR's CI. (No local build;rustfmt --edition 2024 --check,python3 tools/release/changelog.py checkandpython3 tools/ci/api-doc-ids.pypass.)-f base=main -f nordic=true -f r2025=true -f samples=true -f bimcollab=true -f holdout=true,51e74588againstmainat3811a654, with the 2015-to-2022 samples against their 2023 copies) and 41138445109 (2023 against 2024 copies). BIMcollab and modelo_bim have no licence, so only counts left the runner.Audit-honesty checklist
changelog.d/added/docs/rvt-moat-break-reconnaissance.mdare includedLegal and contribution hygiene
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::researchis outside the semver promise; one function is added).Screenshots or output samples
36 of 94 exports of the unfiltered run gain an
ExtendToStructureper wall (the files of Revit 2015 to 2023 with walls); the rest are byte-identical.Related issues
Refs #1158. Follows #1175 (RE-281).