Skip to content

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
DrunkOnJava merged 3 commits into
mainfrom
fix/2046-monolithic-landing-type
Nov 19, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
fix/2046-monolithic-landing-type

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

A stair landing whose landing type is monolithic now names its family Monolithic Landing, so it gets its ObjectType (Revit 2024 and 2025) and its IfcSlabType. Measured: 86 landings on the eight BIM4LCA office and housing files gain Revit's ObjectType and 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 landing Monolithic 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 family Monolithic Landing; it named none.
  • src/research/native_stairs.rs (Revit 2025 to 2027): a StairsLandingType whose m_hasMonolithicSupport is true names the family Monolithic 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.md and 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:

  1. The office's monolithic landings carry Revit's family: met. Measure 44475053774 (f3d414a6 against main at 62cc17e0, 120 models, with nordic, r2025, samples and holdout). names_vs_ifc moves every such landing from ObjectType differs to ObjectType 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, and type_objects_vs_ifc has no untyped IfcSlab left 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.
  2. Nothing else moves on Revit 2024: met, with one count that rises. 108 of 120 exports are byte-identical and 102 of 102 diagnostics.json. The 12 that differ are those eight files and rac_basic of 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, the Pset_SlabCommon.IsExternal Revit 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 Name Family:Type:ElementId where it had StairsLanding-<id>; on the housing it differs from Revit's Name before and after.
  3. Revit 2025 to 2027 held to the same project's 2024 save: met. Measure 44480695855 (probe_2046_landing_types, exports kept): rac_basic's landing 725396 carries Monolithic Landing:220mm Thickness and one IfcSlabType of that name on each of its 2024, 2025, 2026 and 2027 saves, none on main; its ObjectType is set on 2024 and 2025 and stays $ on 2026 and 2027.
  4. Held-out models: met. No scorer line of the 18 held-out pairs moves.
  5. The family words are not in the files: met for the two words no type is named after. Measure 44482570891 (58511189, 43 files, 84,361 gzip members): Monolithic Landing stands alone in 0 of 43 files and Non-Monolithic Run is 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 gates passes on run 44475053774. The commits after f3d414a6 change the probe, the report and the status page only, so src/ is the measured one.
  • tools/check-local.sh: not run (no local builds here); CI runs it. rustfmt --check, tools/release/changelog.py check and tools/ci/api-doc-ids.py pass locally.

Audit-honesty checklist

  • docs/status.md and the report follow the Measure.
  • The changelog fragment says what a model exported by a Revit in another language gets: the type object, with the English family word.
  • Not decided, and said so in the report: CHL's 14 landings (its owner's next counts), a Revit export of a 2025 to 2027 model with a monolithic landing, the IsExternal of a landing's type, the Name of a landing not joined to its stair.

Legal and contribution hygiene

  • Apache-2.0; no Autodesk proprietary source, decompiled internals or NDA content (CLEANROOM.md). The family word is read from Revit's own export of an openly licensed model.
  • No new fixtures.

Breaking changes

Output changes on models that hold a stair landing of a monolithic type: the landing gains its ObjectType (Revit 2024 and 2025), an IfcSlabType with its property sets, and, where it is not named as a part of its stair, the Name Family:Type:ElementId.

https://claude.ai/code/session_01NCFPVqpXUmLDmXf35nPPeP

…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
DrunkOnJava marked this pull request as ready for review November 19, 2026 08:01
@DrunkOnJava
DrunkOnJava merged commit 19df0fe into main Nov 19, 2026
63 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/2046-monolithic-landing-type branch November 19, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant