Repository navigation
fix(research): a Revit 2015 to 2023 wall record's control joins are read, and a Revit 2023 curtain wall gets its Length (#1584) (RE-364) - #2037
Merged
Conversation
…ape the schema saves it in, so a Revit 2015 to 2023 wall record's joins, steps and type are read (#1584) (RE-364) native_walls took every ElementId through native_json::element_id, which reads /m_id/m_id64 only; a 2015 to 2023 save holds /m_id/m_id (RE-280). Its control joins, side joins, exposed faces, step partners and type came back empty there. It now reads them as native_wall_types and native_wall_cuts do.
…ter releases take, now its control joins are read (#1584) (RE-364) attach_wall_lengths was kept off on 32-bit releases because their records were read without their control joins. They are read now, so the rule runs on every release it can.
…rules they start are measured on 2024 and later (#1584) (RE-364) Reading them on Revit 2015 to 2023 started the wall top cover and the areas of walls joined to floors there: on rme_basic 2023, 5 of 6 walls took a flat cover where the 2024 save steps the top, and a sixth lost its Height (Measure 43668542421). Control joins, side joins, exposed faces, partners and the type are still read in either shape.
… and the curtain walls' Length on Revit 2023; the comments that said the joins read empty say what is so (#1584) (RE-364) Measure 43671572302 (the reads, 126 of 127 exports unchanged) and 43671576196 (the Length rule on top, 5 of 127 move, curtain walls' Length equal to the 2024 save's on all of 76). The step ids stay in the 2024 shape: reading them started the wall top cover on rme_basic 2023.
…s are named as the one step id read in either shape; identifier_u64 says what it returns for an id of 0 (#1584) (RE-364)
DrunkOnJava
marked this pull request as ready for review
November 15, 2026 04:36
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
The native wall reader took every ElementId through
native_json::element_id, which reads/m_id/m_id64only. A Revit 2015 to 2023 save holds/m_id/m_id(RE-280), so a wall record's control joins, side joins, exposed faces, step partners and type came back empty there, although the records hold them (RE-364 section 10, #2035). The reader now reads either shape, asnative_wall_typesandnative_wall_cutsdo, and theLengthrule runs on those releases too.Runs R and H read the two effects apart (R the reads, on branch
measure/1584-reads; H theLengthrule on top); run F reads this head againstmain.Motivation
#1584: RE-364 sections 5 and 6 leave
Length, the side areas, footprint and volumes off Revit 2015 to 2023 walls for want of the control joins. This is the reading and the first of those values. The areas, footprint and volumes, and the angled walls of 2015 to 2020, stay their own pull requests.Changes
src/research/native_json.rs:identifier_u64, the unsigned form ofidentifier_i64.src/research/native_walls.rs: the ElementIds of the control joins, side joins, exposed faces, step partners and the wall's type go throughidentifier_u64; a step's top-join, cut-pair and base-join ids stay 2024-shaped on purpose (see Testing). The one step id read in either shape is the partner of a clean, cut or embed step (NativeWall::partners), which only decides whether a cut-back length can be trusted.src/research/partition_schema_mvp/walls.rs:attach_wall_lengthsruns on 32-bit releases too; two comments that said the joins read empty say what is so.reports/element-framing/RE-364-2015-2023-wall-lines-and-joins.mdsection 11,docs/format-reconnaissance.md,docs/contribution-map.md,changelog.d/fixed/1584-wall-control-joins-2015-2023.md.Testing
No local build; fast CI, then Measure. Rows registered before each run is read.
What the first two heads showed (read, and acted on). Head
27f9090cread every id in either shape; Measure 43668542421 (againstmainatf961f2aa) moved 7 exports, all of Revit 2015 to 2023, and the kept exports of therme_basic2023 save held to the 2024 save showed why one of them was wrong: reading a step's ids started the wall top cover (RE-267) on a release it is not measured on. 5 of 6 walls tookwall_top_cut_at_covering_floorwhere the 2024 save haswall_top_stepped_at_covering_floor(the same covering floor, a flat top where 2024 steps it), and wall 573321 lost theHeightthe 2024 save writes. The third head,22e4013e, returns the three step-id reads to the 2024 shape and says why in the code. What stays moved: the control joins, side joins, exposed faces, partners and the wall's type.Two things from the first heads that still hold: the
Lengthrule gaveQto_CurtainWallQuantities.Lengthon Revit 2023 curtain walls, equal to the 2024 save's on all of them (34 of 34 onrac_advanced, 9 of 9 onrac_basic, 33 of 33 onrme_basic; Measure 43670589212 withkeep_ifc,save_pair_props.py), and no ordinary wall'sLengthon 2015 to 2022 (the 2024 save writes one on 1rac_advancedwall, 2 ofrst_basic's and 10 ofrme_advanced's). These are re-read on the third head below.Run R, 43671572302: the reads alone (branch
measure/1584-reads,e4aa0767) againstmainatf961f2aa, unfiltered with samples, nordic, r2025, holdout,racadvand BIMcollab. Rows registered before it was read, and what it read:main's (126 of 127 exports are, the sample saves and theracadvpairs and BIMcollab among them); everydiagnostics.jsontoo but for the newdecoded.walls_type_confirmedlist on 36 files of 2015 to 2023.same-project gatespass.BodyHeightSource,TopCoverElementIdorHeightchanges on any sample save of 2015 to 2023, and none of those exports moves: the only export that does is the held-out Revit 2021 project's.Lengthappears; nothing in W7 moves.Run H, 43671576196: head
22e4013eagainst run R's head; the difference is theLengthrule on 2015 to 2023.rac_advanced,rac_basicandrme_basic), and only byLength. Every writtenLengthisQto_CurtainWallQuantities.Length, equal to the same project's 2024 save on all of 34, 9 and 33 curtain walls (save_pair_props.pyon the kept exports, Measure 43670589212 and, forrme_basicat this head, 43674102994), none different, none on a wall the 2024 save lacks one for.Length, and no ordinary wall of any sample does (the 2024 saves write one on 1 wall ofrac_advanced, 2 ofrst_basic, 10 ofrme_advanced). Why is not decoded.Length; the held-out Revit 2021 project's 8 are values its IFC2X3 export does not write, counted apart, and Einhoven's one has no Revit export to compare (Measure scores it bymcp_answers_vs_ifcandspace_kinds_vs_ifconly), so it rests on the rule that is equal to the 2024 save on the samples.same-project gatespass; nothing in W7differentmoves; no side area, footprint or volume appears.Run F, 43675013797: this head,
a534c3e3(the src changes since22e4013eare three comments), againstmainat655ed72c, the same inputs. Row: the exports that move are exactly the union of R's and H's (the held-out Revit 2021 project, Einhoven and the three 2023 saves), every other export ismain's byte for byte,same-project gatespass on this head.Not measured: reading a step's ids on 2015 to 2023 (the wall top cover and the areas of walls joined to floors there, which moved
rme_basic2023 the wrong way on the first head), the angled walls of 2015 to 2020 trimmed at their joins (no sample save of those years moves), and anything beyond the runs above. RE-364 section 11 holds all of it.Audit-honesty checklist
docs/format-reconnaissance.mdanddocs/contribution-map.mdupdated from the read runs; the measured commits are archived underrefs/archive/2026-11-15/cited/.Legal and contribution hygiene
Breaking changes
None.
Related issues
Part of #1584.