Repository navigation
fix(elements): a stair landing of a monolithic type names its family Monolithic Landing, so it gets its ObjectType and its type object (#2046) (RE-491) - #2088
Merged
Conversation
…Monolithic Landing, so it gets its ObjectType and its type object (#2046) (RE-491) A landing's family was named only where its landing type is not monolithic (Non-Monolithic Landing, RE-65 and RE-476), because no export measured the other word. Revit 2024's own export of the BIM4LCA office (application Autodesk Revit 2024 (ENU)) names the family of all 21 of its monolithic landings Monolithic Landing. rvt-rs now names it: on Revit 2024 from the landing type's flag, on Revit 2025 to 2027 from the type's m_hasMonolithicSupport. The family words are the exporting Revit's and not the file's: a new probe, probe_re491_stair_family_words, searches every stream of a file for them. The report registers its rows before any run is read; their results follow. Claude-Session: https://claude.ai/code/session_01NCFPVqpXUmLDmXf35nPPeP
…passes and counts each word's hits that do not follow Non- (#2046) (RE-491) Measure passes --records to every probe on the sample projects, and the probe took it for a word, so on those 25 models it searched for nothing else (run 44475063953). Arguments that start with -- are no longer words. Monolithic Landing is also found inside Non-Monolithic Landing, a landing type's default name, so the total could not say whether the word stands alone anywhere. Each total is now followed by the hits that do not follow Non-. Claude-Session: https://claude.ai/code/session_01NCFPVqpXUmLDmXf35nPPeP
…#2046) Measure 44475053774 (f3d414a against main at 62cc17e, 120 models): 86 landings of a monolithic type on the eight BIM4LCA office and housing files gain Revit's ObjectType and a type object, 86 of 86; 108 of 120 exports are identical, the others being those eight files and rac_basic's four saves; no count of different values or of values Revit does not write rises, and missing rises by one a file, the IsExternal Revit writes on the landing's type; no held-out pair moves; the same-project gates pass. Measure 44480695855: rac_basic's landing carries the same family and type on its 2024 to 2027 saves. Measure 44482570891: on 43 files Monolithic Landing never stands alone and Non-Monolithic Run is in none, though Revit's exports write both. Claude-Session: https://claude.ai/code/session_01NCFPVqpXUmLDmXf35nPPeP
DrunkOnJava
marked this pull request as ready for review
November 19, 2026 08:01
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 stair landing whose landing type is monolithic now names its family
Monolithic Landing, so it gets itsObjectType(Revit 2024 and 2025) and itsIfcSlabType. Measured: 86 landings on the eight BIM4LCA office and housing files gain Revit'sObjectTypeand a type object, 86 of 86, and 108 of 120 exports are unchanged (Measure 44475053774). Until now only a landing of a type that is not monolithic was named, because no export measured the other word.The word is measured on open files: Revit 2024's own IFC4 exports of the BIM4LCA office and housing (application
Autodesk Revit 2024 (ENU)) name the family of every monolithic landingMonolithic Landing.Motivation
#2046. HWT-25 counted the confidential Revit 2027 model CHL on 0.25.0: all 14 of its landings are of a monolithic type, Revit's export types each, and rvt-rs types none. Their Revit is Spanish and writes
Descansillo monolítico, which raised a second question the report takes up: whether the family word is in the file at all. It is not (row 5).Changes
src/research/partition_stairs.rs(Revit 2024): a landing type whose monolithic flag is set names the familyMonolithic Landing; it named none.src/research/native_stairs.rs(Revit 2025 to 2027): aStairsLandingTypewhosem_hasMonolithicSupportis true names the familyMonolithic Landing; it named none.probes/examples/probe_re491_stair_family_words.rs: searches every stream of a file, stored and inflated, for the family words, as UTF-16 and ASCII (research only).reports/element-framing/RE-491-monolithic-landing-family.md,docs/status.mdand a changelog fragment.Testing
Unit tests are banned in this repository. The rows were registered in this body before any run was read (the first version of it, 2026-11-19 06:50Z). Results, with the report's section 5 holding the tables:
f3d414a6againstmainat62cc17e0, 120 models, with nordic, r2025, samples and holdout).names_vs_ifcmoves every such landing fromObjectType differstoObjectType equal: 21, 21, 17 and 17 on the four office files and 4, 4, 1 and 1 on the four housing files, 86 in all, andtype_objects_vs_ifchas no untypedIfcSlableft on any of the eight. The registered 21 of 21 on the concrete office as built is met; the housing holds such landings too, which the row did not name.diagnostics.json. The 12 that differ are those eight files andrac_basicof 2024 to 2027. On each of the eight,psets_vs_ifc's equal, different (1) and "values Revit does not write" counts are unchanged; "missing" rises by one, thePset_SlabCommon.IsExternalRevit writes on the landing's type object, which rvt-rs now writes without that value. A landing not named as a part of its stair (rac_basic's, the housing's) also takes the NameFamily:Type:ElementIdwhere it hadStairsLanding-<id>; on the housing it differs from Revit's Name before and after.probe_2046_landing_types, exports kept):rac_basic's landing 725396 carriesMonolithic Landing:220mm Thicknessand oneIfcSlabTypeof that name on each of its 2024, 2025, 2026 and 2027 saves, none onmain; itsObjectTypeis set on 2024 and 2025 and stays$on 2026 and 2027.58511189, 43 files, 84,361 gzip members):Monolithic Landingstands alone in 0 of 43 files andNon-Monolithic Runis in 0 of 43, though Revit's exports of the office files and of Snowdon Towers Architectural write them. The four other words are found at most once a file, as a type's own name would be.same-project gatespasses on run 44475053774. The commits afterf3d414a6change the probe, the report and the status page only, sosrc/is the measured one.tools/check-local.sh: not run (no local builds here); CI runs it.rustfmt --check,tools/release/changelog.py checkandtools/ci/api-doc-ids.pypass locally.Audit-honesty checklist
docs/status.mdand the report follow the Measure.IsExternalof a landing's type, the Name of a landing not joined to its stair.Legal and contribution hygiene
Breaking changes
Output changes on models that hold a stair landing of a monolithic type: the landing gains its
ObjectType(Revit 2024 and 2025), anIfcSlabTypewith its property sets, and, where it is not named as a part of its stair, the NameFamily:Type:ElementId.https://claude.ai/code/session_01NCFPVqpXUmLDmXf35nPPeP