Skip to content

docs(research): a Revit 2015 to 2023 wall record holds its control joins, and 2021 to 2023 equal the 2024 save wall by wall (#1584) (RE-364) - #2035

Merged
DrunkOnJava merged 3 commits into
mainfrom
research/1584-wall-control-joins
Nov 15, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
research/1584-wall-control-joins

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

A Revit 2015 to 2023 wall record holds its control joins. probe_1584_wall_control_joins on every sample save finds VWallDriver.m_controlJoinsSet, CDJoinInfo and JoinEndGStep in all 59, as full as on 2024 to 2027, and 2021 to 2023 equal the same project's 2024 save wall by wall. RE-364 section 10 records it, with the script that pairs the saves. No output changes.

Motivation

#1584: RE-364 sections 5 and 6 say a 2015 to 2023 record is read "without its control joins" and that "why the graph holds none is not decoded". This is the issue's first "Done when" item: the joins read, held to the same project's later save by ElementId, as counts. Length, the side areas, footprint and volumes, and the angled walls of 2015 to 2020 are each their own pull request after this, held to Measure.

Changes

  • reports/element-framing/RE-364-2015-2023-wall-lines-and-joins.md: section 10.
  • tools/re/wall_control_joins_across_saves.py: pairs the probe's per-save output with the same project's later save by ElementId (counts and ElementIds only).
  • probes/examples/probe_1584_wall_control_joins.rs: the probe (already on this branch).

Testing

  • No src/ change; nothing for check-local to exercise beyond fast CI.
  • Real files: Measure run 43666839412, -f ref=35e4130ec3d5787c1f1dbd48af5b588d3e51aa11 -f base=none -f samples=true -f probe=probe_1584_wall_control_joins, Autodesk's sample projects of 2015 to 2027 (59 saves). python3 tools/re/wall_control_joins_across_saves.py <the run's measure-head directory> prints the pairs below.

What the files show, as counts:

  • Every wall record has a VWallDriver and m_controlJoinsSet in all 59 saves. rac_advanced holds 179 walls with joins and 1 with an empty set on every save of 2015 to 2027, rac_basic 59 and 1, rme_basic and rme_advanced 151 and 15, rst_basic 9 and 0 from 2016 on.
  • Held to the later save by ElementId: rac_advanced 2021 to 2023 against 2024, 180 of 180 walls equal in sets, decoded entries, CDJoinInfo entries and step entries; rac_basic 2019 to 2022 against 2023, 60 of 60; rst_basic 2016, 2022, 2023 against 2024, 9 of 9; rme_basic 2019 against 2023 and rme_advanced 2019 against 2024, 166 of 166.
  • Not equal: rac_advanced 2015 to 2020 differ from 2021 on 33 walls and rac_basic 2015 from 2019 on 8. No set names a wall the later save does not, so the later save only gains partners. An edit between saves would look like that, and so would a read missing entries; these files cannot tell the two apart, and the report holds those saves to the earliest save that is equal, not to 2024.
  • Cause (a reading of the source, not measured here): native_json::element_id reads /m_id/m_id64 only, and a 2015 to 2023 save holds /m_id/m_id (RE-280). The pull request that changes it measures it.

Not measured: anything written from these joins.

Audit-honesty checklist

  • The report says what was and was not measured, and the cause is marked as a reading of the source.
  • No user-visible change, so no changelog fragment.
  • Reproduce commands name a commit.
  • No emojis, private paths or personal email addresses.
  • Reverse-engineering finding: probe under probes/examples/ and the dated addendum to RE-364.

Legal and contribution hygiene

  • Apache-2.0; contributor declaration: clean-room, only byte observations of Autodesk's public sample projects. No Autodesk source, decompiled internals or NDA content.
  • No new fixtures.

Breaking changes

None.

Related issues

Part of #1584.

…23, whether its record holds VWallDriver's control joins, its CDJoinInfo and JoinEndGStep objects, and what decodes (#1584)

RE-364 section 6 found a 2015 to 2023 wall's control joins read empty. The probe
tells an absent m_controlJoinsSet from an empty one and from one whose
identifiers do not decode, counts the join objects the graph holds, and prints
each set as [index, [[id, end], ...]] so a save can be held to the same
project's later save by ElementId.
…ins; the native reader's ElementId shape is what reads them empty (#1584) (RE-364)

Measure run 43666839412 (probe_1584_wall_control_joins, all 59 sample saves):
every wall record has a VWallDriver and m_controlJoinsSet, the sets are as
full as on 2024 to 2027, and 2021 to 2023 equal the same project's 2024 save
wall by wall. tools/re/wall_control_joins_across_saves.py pairs the saves.
@DrunkOnJava
DrunkOnJava merged commit 0970a7e into main Nov 15, 2026
63 checks passed
@DrunkOnJava
DrunkOnJava deleted the research/1584-wall-control-joins branch November 15, 2026 02:59
DrunkOnJava added a commit that referenced this pull request Nov 15, 2026
…ead, and a Revit 2023 curtain wall gets its Length (#1584) (RE-364) (#2037)

## Summary

The native wall reader took every ElementId through
`native_json::element_id`, which reads `/m_id/m_id64` only. 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, as `native_wall_types` and
`native_wall_cuts` do, and the `Length` rule runs on those releases too.

Runs R and H read the two effects apart (R the reads, on branch
`measure/1584-reads`; H the `Length` rule on top); run F reads this head
against `main`.

## 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 of
`identifier_i64`.
- `src/research/native_walls.rs`: the ElementIds of the control joins,
side joins, exposed faces, step partners and the wall's type go through
`identifier_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_lengths`
runs 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.md`
section 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
`27f9090c` read every id in either shape; Measure
[43668542421](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43668542421)
(against `main` at `f961f2aa`) moved 7 exports, all of Revit 2015 to
2023, and the kept exports of the `rme_basic` 2023 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
took `wall_top_cut_at_covering_floor` where the 2024 save has
`wall_top_stepped_at_covering_floor` (the same covering floor, a flat
top where 2024 steps it), and wall 573321 lost the `Height` the 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 `Length` rule gave
`Qto_CurtainWallQuantities.Length` on Revit 2023 curtain walls, equal to
the 2024 save's on all of them (34 of 34 on `rac_advanced`, 9 of 9 on
`rac_basic`, 33 of 33 on `rme_basic`; Measure
[43670589212](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43670589212)
with `keep_ifc`, `save_pair_props.py`), and no ordinary wall's `Length`
on 2015 to 2022 (the 2024 save writes one on 1 `rac_advanced` wall, 2 of
`rst_basic`'s and 10 of `rme_advanced`'s). These are re-read on the
third head below.

Run R,
[43671572302](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43671572302):
the reads alone (branch `measure/1584-reads`, `e4aa0767`) against `main`
at `f961f2aa`, unfiltered with samples, nordic, r2025, holdout, `racadv`
and BIMcollab. Rows registered before it was read, and what it read:

1. **Met.** Every export of a Revit 2024 to 2027 file is byte for byte
`main`'s (126 of 127 exports are, the sample saves and the `racadv`
pairs and BIMcollab among them); every `diagnostics.json` too but for
the new `decoded.walls_type_confirmed` list on 36 files of 2015 to 2023.
2. **Met.** `same-project gates` pass.
3. **Met.** No wall's `BodyHeightSource`, `TopCoverElementId` or
`Height` changes 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.
4. **Met, on counts only.** The one export that moves is that project's,
whose Revit export is IFC2X3 (counted apart): angled walls within 0.001
ft of Revit's ends go from 124 to 167 of 390 (0.1 ft: 126 to 173; 1 ft:
360 to 363; the largest miss 5.783 ft before and after). No Revit IFC4
export of a 2015 to 2023 file is among the exports that move.
5. **Met.** No `Length` appears; nothing in W7 moves.

Run H,
[43671576196](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43671576196):
head `22e4013e` against run R's head; the difference is the `Length`
rule on 2015 to 2023.

1. **Met.** Only exports of Revit 2021 to 2023 move (5 of 127: Einhoven,
the held-out Revit 2021 project and the 2023 saves of `rac_advanced`,
`rac_basic` and `rme_basic`), and only by `Length`. Every written
`Length` is `Qto_CurtainWallQuantities.Length`, equal to the same
project's 2024 save on all of 34, 9 and 33 curtain walls
(`save_pair_props.py` on the kept exports, Measure
[43670589212](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43670589212)
and, for `rme_basic` at this head,
[43674102994](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43674102994)),
none different, none on a wall the 2024 save lacks one for.
2. **Narrower than hoped.** 2023 only among the samples: none of the
2015 to 2022 sample saves gains a `Length`, and no ordinary wall of any
sample does (the 2024 saves write one on 1 wall of `rac_advanced`, 2 of
`rst_basic`, 10 of `rme_advanced`). Why is not decoded.
3. **Not comparable.** No untouched Revit IFC4 export of a 2015 to 2023
file holds one of these walls' `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 by
`mcp_answers_vs_ifc` and `space_kinds_vs_ifc` only), so it rests on the
rule that is equal to the 2024 save on the samples.
4. **Met.** `same-project gates` pass; nothing in W7 `different` moves;
no side area, footprint or volume appears.

Run F,
[43675013797](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43675013797):
this head, `a534c3e3` (the src changes since `22e4013e` are three
comments), against `main` at `655ed72c`, 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 is `main`'s byte for byte, `same-project gates` pass 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_basic`
2023 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

- [x] Changelog fragment, RE-364 section 11,
`docs/format-reconnaissance.md` and `docs/contribution-map.md` updated
from the read runs; the measured commits are archived under
`refs/archive/2026-11-15/cited/`.
- [x] No emojis, no private paths.
- [x] Reproduce commands name commits.

## Legal and contribution hygiene

- [x] Apache-2.0; clean-room: only byte observations of Autodesk's
public sample projects and the schema's own field names.

## Breaking changes

None.

## Related issues

Part of #1584.
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