Repository navigation
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
Conversation
…27 save get a type object, and what their native records name (#2046) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…ng type's name and family, so it is typed as Revit 2024's is (#2046) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…o a save is held to its project's other saves by ElementId (#2046) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
…27 save had no type object, and what the fix reached (#2046) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
DrunkOnJava
marked this pull request as ready for review
November 15, 2026 07:13
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
#2046: the 14 stair landings of a Revit 2027 model (CHL, counts from HWT-25) are written with no
IfcSlabTypewhere Revit types each oneLANDING. 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 2027native_stair_partsnamed a stair, its flights and its stringers from native records and its doc left a landing out ("none is measured"). A landing with noFamilyNameandTypeNamegets no type object (step_writer::type_objects). Multistory copies are not the cause (MULTISTORY_REVIT_VERSIONSis[2024]).This adds landings to
native_stair_parts: the type is the oneOST_StairsLandingstype definition the landing's element record names (as for a run), its name the type'sSymbolInfo.m_name, its familyNon-Monolithic LandingwhereStairsLandingType.m_hasMonolithicSupportis 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):
rac_advanced2025: 5 of 5 landings typedNon-Monolithic Landing(0 of 5 onmain; 5 of 5 on its 2024 save). Measure 43684535165 onmain, 43685123916 on the head.Family:Typeby ElementId, 5 of 5 (Measure 43685809366).main(merge base4b1d8f19): 117 of 120 exports equal, the three that move are therac_advancedsaves 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 theirObjectType; oneIfcSlabType, oneIfcRelDefinesByTypeand their property sets). Same-project gates: success on615bc195.rac_basic's one landing stays untyped on 2024 and 2025 (unchanged).Changes
src/research/native_stairs.rs:native_stair_partstakeslandings(id to stair and type) and names the landings of a non-monolithic type.src/research/partition_schema_mvp/stairs.rs:attach_native_stair_namesreads 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.pyandchangelog.py checkpass.srcchange was measured at615bc195; 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
ObjectTypeon 2025 to 2027 against Revit's own export, the family of a monolithic landing type, and CHL's 14.Audit-honesty checklist
changelog.d/fixed/2046-landing-types-2025-2027.md.probes/examples/, dated report with the runs.Legal and contribution hygiene
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