Skip to content

fix(ifc): a stair landing of a Revit 2025 to 2027 save gets its landing type's name and family, so it is typed as Revit 2024's is (#2046) - #2047

Merged
DrunkOnJava merged 4 commits into
mainfrom
research/2046-landing-types
Nov 15, 2026
Merged

DrunkOnJava merged 4 commits into
mainfrom
research/2046-landing-types

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

#2046: the 14 stair landings of a Revit 2027 model (CHL, counts from HWT-25) are written with no IfcSlabType where Revit types each one LANDING. The cause is in the code (RE-476): on Revit 2024 a landing's family and type name are read from byte offsets measured on that release; on 2025 to 2027 native_stair_parts named a stair, its flights and its stringers from native records and its doc left a landing out ("none is measured"). A landing with no FamilyName and TypeName gets no type object (step_writer::type_objects). Multistory copies are not the cause (MULTISTORY_REVIT_VERSIONS is [2024]).

This adds landings to native_stair_parts: the type is the one OST_StairsLandings type definition the landing's element record names (as for a run), its name the type's SymbolInfo.m_name, its family Non-Monolithic Landing where StairsLandingType.m_hasMonolithicSupport is false, as the 2024 type byte gives. A monolithic landing type's family is not measured on any release and stays out.

Measured (rows registered in the draft before any run was read):

  1. Landings typed. rac_advanced 2025: 5 of 5 landings typed Non-Monolithic Landing (0 of 5 on main; 5 of 5 on its 2024 save). Measure 43684535165 on main, 43685123916 on the head.
  2. Held to the same project's 2024 save. The 5 landings carry their 2024 save's Family:Type by ElementId, 5 of 5 (Measure 43685809366).
  3. Held to Revit. Not scored: none of the 24 Revit 2025 models holds a landing and Measure has no Revit export of a 2025 to 2027 model with one. CHL's family word and monolithic count are asked of HWT-25 on Revit 2027: stair landings are written with no IfcSlabType where Revit types them LANDING (CHL, 14 landings) #2046.
  4. Nothing else moves. Full Measure 43685120427 against main (merge base 4b1d8f19): 117 of 120 exports equal, the three that move are the rac_advanced saves of 2025, 2026 and 2027; diagnostics 102 of 102 equal; no scorer moved. A line diff of the kept 2025 and 2026 exports (Measure 43687905412) differs in the creation time and in the five landings alone (their Name, on 2025 their ObjectType; one IfcSlabType, one IfcRelDefinesByType and their property sets). Same-project gates: success on 615bc195.
  5. Reported. rac_basic's one landing stays untyped on 2024 and 2025 (unchanged).

Changes

  • src/research/native_stairs.rs: native_stair_parts takes landings (id to stair and type) and names the landings of a non-monolithic type.
  • src/research/partition_schema_mvp/stairs.rs: attach_native_stair_names reads each landing's type and stair as it does a run's.
  • probes/examples/probe_2046_landing_types.rs, reports/element-framing/RE-476-stair-landing-types-2025-2027.md, a changelog fragment.

Testing

  • rustfmt --check; no let-chains; tools/ci/api-doc-ids.py and changelog.py check pass.
  • Rows 1, 2, 4 and 5 above; row 3 is not scored and is stated so in RE-476 section 4.
  • The src change was measured at 615bc195; the commits after it add the probe's output lines, the report and the fragment (carry-proof 43685120427).

Not measured: the landing's Name and ObjectType on 2025 to 2027 against Revit's own export, the family of a monolithic landing type, and CHL's 14.

Audit-honesty checklist

  • The report states what is decided, what is not and why.
  • Changelog fragment changelog.d/fixed/2046-landing-types-2025-2027.md.
  • No emojis, private paths or personal email addresses.
  • Reverse-engineering finding: probe under probes/examples/, dated report with the runs.

Legal and contribution hygiene

  • Apache-2.0; contributor declaration: clean-room, only byte observations of Autodesk's public sample projects and counts from a confidential model. No Autodesk source, decompiled internals or NDA content.

Breaking changes

The landings of Revit 2025 to 2027 saves gain a type object, a Name and (on 2025) an ObjectType; nothing else in an export moves.

Related issues

Part of #2046 (it closes when HWT-25 confirms CHL's 14). Related: #1841, #1829, #1977.

https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ

@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 15, 2026 07:13
@DrunkOnJava
DrunkOnJava merged commit d36cd00 into main Nov 15, 2026
63 checks passed
@DrunkOnJava
DrunkOnJava deleted the research/2046-landing-types branch November 15, 2026 07:24
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