Repository navigation
docs(research): the type material maps of Revit 2015 to 2023 family types are in the older id shape, and the issue's windows name no type (#1603) (RE-473) - #2040
Merged
Conversation
DrunkOnJava
marked this pull request as ready for review
November 15, 2026 05:48
…not a branch that is deleted on landing (#1603) Claude-Session: https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
This was referenced Nov 15, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Nov 15, 2026
…t's own type in their native record, which the scan's reference-list join cannot see (#1603) (RE-475) (#2051) ## Summary Two probes, two scorers and the report RE-475 for #1603: where the 68 windows of the spent Revit 2018 project name Revit's own type. RE-473 left it as "the next row": whether the one window-only named id each of those windows holds is its type or its family. No output changes; the questions were set in RE-473 section 5 before the runs were read. Measured on the spent project and its held-out save (counts; Measure 43682867776, 43684406836, 43685039364, 43686411026, 43687114757, 43687761375): - **The list rule is wrong.** Each of the 68 windows holds exactly one id that only window records hold and that has a name entry and no record (43 distinct, at most 4 windows to one id). Its name equals Revit's type name for 68 of 68; it is Revit's type id for **0** of 68. Revit's own type id is in the list for 68 of 68, as an id the scan knows nothing of. - **The native record has all of it.** `InstanceInfo.m_symbolId` is Revit's type id for 70 of 70 windows; the symbol at that id has an empty name (70 of 70). `FamilyInstance.m_masterSymbolId` names a master symbol whose `SymbolInfo.m_name` is Revit's type name on 70 of 70 (the scorer counted 68: two names hold a real underscore). All 104 symbols name a `Family` record, which holds `Family.m_name` (`OB_1H` for Revit's `OB 1H`) and the family's type names. - **Railings (14) and stairs (6)** do not name their type's id in their native record: 0 of 20. - For one other category (id -2000171, 206 instances) the one id only its records hold is Revit's type Tag, 206 of 206: a system type, a separate rule. ## Changes - `probes/examples/probe_1603_unjoined_lists_pre2024.rs`, `probes/examples/probe_1603_native_instance_types_pre2024.rs` (both id shapes, the releases widened to 2015 to 2027). - `tools/re/unjoined_types_vs_ifc.py`: holds an unjoined instance's ids against Revit's type of the same Tag. - `tools/ci/scrub-holdout-results.sh`: keeps the `unjoined lists pre2024:` count lines of a held-out model by their fixed wording; the per-instance lines name ElementIds and are dropped. - `reports/element-framing/RE-475-pre-2024-window-types-are-in-the-native-record.md` and the `docs/contribution-map.md` row. ## Testing - [x] No `src/` change; `rustfmt --check`, `tools/ci/api-doc-ids.py` and `bash -n` on the scrub pass. - [x] Measure runs above; the held-out lines are counts only. - [x] The report states one project is the evidence for the native-record table: the rule is not general until other projects hold it. Not measured: the output of a reader that takes these pieces (Name, `ObjectType`, type object, material set), the family name on every window, and other pre-2024 projects. ## Audit-honesty checklist - [x] The report states what is decided (the pieces and where they are), what is not (the output) and why. - [x] No user-visible change, so no changelog fragment. - [x] No emojis, private paths or personal email addresses. - [x] Reverse-engineering finding: probes under `probes/examples/`, dated report with the runs and archived commits. ## Legal and contribution hygiene - [x] Apache-2.0; contributor declaration: clean-room, only byte observations of Autodesk's public sample projects and the held-out files as counts. No Autodesk source, decompiled internals or NDA content. - [x] No new fixtures. ## Breaking changes None. ## Related issues Part of #1603. Follows #2040 (RE-473). Related: #2046 (RE-476). https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
This was referenced Nov 15, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Nov 15, 2026
…ow is the drawn symbol's, and it is Revit's materials on 558 of 992 before three rules (#1603) (RE-478) (#2055) ## Summary A probe, a scorer and the report RE-478 for #1603: which symbol of a Revit 2015 to 2023 door or window holds the geometry-material map that names Revit's materials for it, and where the map does not. No output changes; the five rows were registered on #1603 ([comment](#1603 (comment))) before the first run. Measured on the spent Revit 2018 project and the 17 other held-out projects, 992 doors and windows that Revit's export gives materials (Measure 43700046741 at `8b5fd1dd`): - **The symbol is the one the record draws** (`InstanceInfo.m_symbolId`, Revit's type from RE-477), not its master. The master's map equals Revit's set on exactly the elements the drawn one does (never better), and lacks the nested components' materials where the drawn one has them. - **The drawn map is Revit's set as written on 558 of 992**, 603 once Revit 2018's spelling of the unset material (" <Unnamed>") is dropped, and on every element of 13 of the 18 projects. - **The other 389 need rules the 2015 to 2023 readers do not have:** 299 differ only in whether `<Unnamed>` is written (14 of the spent project's windows, 263 of BIM Whale's, 22 of a Revit 2020 project's doors), 81 hold names Revit's set does not (a hidden-form material, RE-205), 9 spent windows have one more material that none of the drawn symbol's, master's, family's or instance's records name. Those rules are read today from the family forms, which take the 2024 id shape only. - The registered row 2 ("one symbol equal everywhere it is read") is **not met**, and the report says so. ## Changes - `probes/examples/probe_1603_window_door_type_maps_pre2024.rs`: the two symbols' maps in either id shape, and the materials each record names outside the map (percent-encoded names). - `tools/re/window_door_type_maps_vs_ifc.py`: the drawn map against Revit's set, by kind; `--list` lists the spent project's differing elements. - `tools/ci/scrub-holdout-results.sh`: keeps the scorer's two count lines for a held-out model by their fixed wording (checked locally on a copy of the spent project's output). - `reports/element-framing/RE-478-pre-2024-door-window-type-material-maps.md` and the `docs/contribution-map.md` row. ## Testing - [x] Measure 43700046741 (the spent project and all held-out projects, counts only); four earlier runs had scorer defects, named in the report's section 6, and none of their counts is used. - [x] No `src/` change; `rustfmt --check`, `tools/ci/api-doc-ids.py`, `tools/release/changelog.py check` and `bash -n` on the scrub pass; the build and clippy run in CI. - [x] Not measured, stated in the report: that the family forms decide the 299 and the 81, the 9 windows' source, and any other Revit 2015 to 2018 export's spelling of the unset material. ## Audit-honesty checklist - [x] The report states what is decided (the symbol), what is not and why, and that registered row 2 is not met. - [x] No user-visible change, so no changelog fragment. - [x] No emojis, private paths or personal email addresses. - [x] Reverse-engineering finding: probe under `probes/examples/`, dated report with the runs and archived commits. ## Legal and contribution hygiene - [x] Apache-2.0; contributor declaration: clean-room, only byte observations of Autodesk's public sample projects and the held-out files as counts. No Autodesk source, decompiled internals or NDA content. - [x] No new fixtures. ## Breaking changes None. ## Related issues Part of #1603. Follows #2052 (RE-477), #2040 (RE-473). Related: #1158. https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
DrunkOnJava
added a commit
that referenced
this pull request
Nov 15, 2026
…nd windows give decoded forms, as 330 of 382 do from 2024, and the forms hold their material in the older id shape (#1603) (RE-479) (#2057) ## Summary A probe and the report RE-479 for #1603: does a Revit 2015 to 2023 project hold the own documents of the families its doors and windows come from, do their forms decode, and in which id shape do they hold their materials and their `Visible`? No output changes; the four rows were registered on #1603 ([comment](#1603 (comment))) before the run. Measured on 84 models (the spent Revit 2018 project, 18 held-out projects as counts, 65 reference models and Autodesk samples of Revit 2015 to 2027; Measure 43701506486 at `fcf37a5f`): - **The forms decode on all thirteen releases:** 1,070 forms before 2024 and 1,305 from it, each with its material in the 2015 to 2023 id shape before 2024 and in the 2024 shape from it (no file holds both) or mapped to no material, the stored `Visible` on every form, `m_cutting` read. Each sample project with several saves gives the same forms on all of them (two saves of the structural basic project differ, stated in the report). - **Registered row 1 is not met:** the share of families that give a decoded record is under 90% on nine releases (seven before 2024, 2024 at 81.0% and 2027 at 89.1%); 367 of 429 before 2024, 330 of 382 from it. The probe counts families that give a decoded record, so an absent document and one with no solid form are not told apart. The shortfall is the structural and Snowdon samples, the same number on every save of the same project; the spent project and the 17 other held-out projects give a decode for every family. The report states that the registered consequence (find that release's documents first) is not followed, and why. - **Next:** `native_family_forms` reading either id shape on those releases, failing closed where nothing decodes, scored by `element_materials_vs_ifc` against RE-478's 389 of 992. ## Changes - `probes/examples/probe_1603_family_forms_pre2024.rs`: the families of the doors and windows, their documents' forms per class with the material in each shape, unset, cutting, stored and bound `Visible`. - `tools/ci/scrub-holdout-results.sh`: keeps the probe's count lines for a held-out model by their fixed wording. - `reports/element-framing/RE-479-pre-2024-family-documents-and-forms.md`. ## Testing - [x] Measure 43701506486 (samples and held-out, counts only); every number in the report was summed from the run's kept artefacts, and the spent project's class lines equal its held-out save's. - [x] No `src/` change (`git diff --stat main...` is the probe and the scrub); `rustfmt --check`, `bash -n` on the scrub, `tools/ci/api-doc-ids.py` and `tools/release/changelog.py check` pass; the build and clippy run in CI. - [x] Not measured, stated in the report: which families give no decode and whether their document is absent or empty, whether the rules decide RE-478's 299 and 81, and the shape of the `Visible` ids (read in either). ## Audit-honesty checklist - [x] The report states what is decided, what is not, that registered row 1 is not met, and the departure from its consequence. - [x] No user-visible change, so no changelog fragment. - [x] No emojis, private paths or personal email addresses. - [x] Reverse-engineering finding: probe under `probes/examples/`, dated report with the run and the archived commit. ## Legal and contribution hygiene - [x] Apache-2.0; contributor declaration: clean-room, only byte observations of Autodesk's public sample projects and the held-out files as counts. No Autodesk source, decompiled internals or NDA content. - [x] No new fixtures. ## Breaking changes None. ## Related issues Part of #1603. Follows RE-478 (#2055), RE-477 (#2052), RE-473 (#2040). https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ
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
Two probes, a pairing script and the report RE-473 for #1603: whether a Revit 2015 to 2023 family type's own record holds its geometry-material map (
FamilySymbol.m_geomTag2MaterialId, RE-203), in which id shape, and whether it reaches the 70 windows and 14 railings of the spent Revit 2018 project. No output changes; the rows were registered before the runs were read.Measured (Measure 43678727089 at
650584d8244e, 66 models, and 43679458150 at73b75d0d2a7b, with the instance counts):m_id64read sees none of them.Changes
probes/examples/probe_1603_type_maps_pre2024.rs: the map read for the types the decode's instances name, both id shapes, with per-class counts and the instances naming a type.probes/examples/probe_1603_instance_types_pre2024.rs: where the type join of a 2015 to 2023 family instance stops, per category, and what the lists of the instances with no candidate name.tools/ci/scrub-holdout-results.sh: keeps thetype maps pre2024:andtype join pre2024:count lines of a held-out model by their fixed wording.tools/re/type_maps_across_saves.py: pairs a save with the same project's later one by type ElementId.reports/element-framing/RE-473-type-material-maps-before-2024.mdand thedocs/contribution-map.mdrow.Testing
src/change;rustfmt --check,tools/ci/api-doc-ids.pyandbash -non the scrub pass.-f samples=true, then focused reruns with-f holdout=true); the held-out lines are counts only.Not measured: whether Revit's export writes these materials (the reader's own run against
element_materials_vs_ifc.py), and the default material of #1603's second item.Audit-honesty checklist
probes/examples/, dated report with the runs.Legal and contribution hygiene
Breaking changes
None.
Related issues
Part of #1603 (and #1190, #1158). Related: #1584 (the id shape), #1695.