Skip to content

research(elements): probes list each covering's native record and saved parameters, and repeat the 2023 system type choice for the furred ceilings that got no type (#1899) - #1905

Merged
DrunkOnJava merged 3 commits into
mainfrom
research/1899-covering-parameters
Nov 13, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
research/1899-covering-parameters

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

Two probes for #1899, which #1907 closed: probe_1899_covering_parameters prints, for every IfcCovering the export writes, the covering's native record (the class it opens with, the decode status and diagnostic, the stream and size) and the saved parameters the reader finds for it; probe_1899_ceiling_type_names repeats the choice of a 2023 system type (system_type_names_2023, RE-111) for every exported wall, floor, roof and ceiling, with the names as the reader merges them and without a name that is one non-ASCII character, and prints each element whose type would change, with its candidates and the categories naming each. No src/ change, no export moves.

Motivation

#1899: the 2023 save of rac_advanced gave two furred ceilings no type and so no Pset_CoveringCommon. The first probe showed their records and saved parameters identical on the 2022 and 2023 saves (Measure 43416338575); a probe of the ceilings' layer copies through the 2024 type records, which I wrote next and have replaced, read no ceiling type at all on 2022 and 2023 (run 43417173323), so it could not test its hypothesis there. The second probe, run on the 40 models of Autodesk's 2015 to 2023 samples and Einhoven (43418834070), found the cause: of 267 + 68 + 230 + 14 + 2 system-type elements on the five 2023 files, 2 gain a type (247617 and 247677), none changes and none loses one. Both probes are cited by RE-451 (#1907).

Changes

  • probes/examples/probe_1899_covering_parameters.rs, probes/examples/probe_1899_ceiling_type_names.rs.

Testing

Audit-honesty checklist

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content
  • No new test fixtures

Related issues

Refs #1899 (closed by #1907).

…he saved parameters the reader finds for it, for the two furred ceilings the 2023 save of rac_advanced loses the parameter sets of (#1899)
…ayers, for the furred ceilings the 2023 save of rac_advanced gives no type (#1899)

The first probe found the two ceilings' native records and saved parameters the
same on the 2022 and 2023 saves, and only their export name different
(Ceiling-<id> for Compound Ceiling:Furred Ceiling:<id>): the type is not found.
scan_type_layers drops a type whose copies disagree before Revit 2024 (RE-446).
…very wall, floor, roof and ceiling with and without a lone non-ASCII element-data name, for the furred ceilings the 2023 save of rac_advanced gives no type (#1899)

The probe it replaces listed the copies of each ceiling type's layers through the 2024 type records, which Revit 2022 and 2023 do not have, so it found no ceiling type on either save and could not test its hypothesis there (Measure run 43417173323: 0 ceiling types on 2022 and 2023, 5 on 2024 with one copy each). A 2023 system type is found by its element-data name (RE-111), and RE-180 section 5 records the stray one-unit name that gives ceiling type 247676 two names.
DrunkOnJava added a commit that referenced this pull request Nov 13, 2026
…aracter is not taken as a name, so the two furred ceilings of rac_advanced find their type (#1899) (RE-451) (#1907)

## Summary

On Revit 2023 the two furred ceilings of Autodesk's `rac_advanced`
(247617 and 247677) get no type, so the export writes them as
`Ceiling-247617` and `Ceiling-247677` with no `Pset_CoveringCommon` and
no `Pset_EnvironmentalImpactIndicators` (the 2023 save is six parameter
values short of every save from 2015 to 2022). The cause is a
one-character element-data name that 2023 still takes as a name; this
drops a lone non-ASCII one on 2023, as 2015 to 2022 drop every
one-character name and as 2023's name entries already drop a lone
non-ASCII one (RE-180).

## Motivation

#1899. The cause, read on run
[43418834070](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43418834070),
and the rows registered before this PR's run are on [the
issue](#1899 (comment)).
Each ceiling names two ids that have no record and no name entry of
their own: its type, 242823 `Furred Ceiling`, and the element before it
(247616, 247676), whose data opens with a list of one ElementId that
reads as a one-character name. Neither candidate's categories are a
subset of the other's, so `system_type_names_2023` picks none.

## Changes

- `src/research/partition_names.rs`: `find_element_data_names_32` on
Revit 2023 refuses a name that is one non-ASCII character
(`lone_non_ascii`); every other release keeps dropping every
one-character name. One caller more than the type choice reads these
names, the materials with no name entry (`partition_materials`), and it
gets the same names.
- `changelog.d/fixed/1899-lone-name-2023.md`.
- `reports/element-framing/RE-451-lone-names-2023.md`, `docs/status.md`
(RE-451, and RE-449's clause that the 2023 save stays six short), and
RE-449's changelog fragment, whose clause is now past.

## Testing

Unit tests are banned in this repository. The change is a one-line
filter on the names a scanner reads, so the evidence is the probe and
the export's own values:
- [x] The probe `probe_1899_ceiling_type_names` (PR #1905) repeats
`system_type_names_2023`'s choice with and without the filter on the 40
models of Autodesk's 2015 to 2023 samples and Einhoven (run
43418834070): of 267 + 68 + 230 + 14 + 2 system-type elements on the
five 2023 files, 2 gain a type (247617 and 247677, both 242823 `Furred
Ceiling`), none changes and none loses one; the 30 files of 2015 to 2022
have no lone name left to drop.
- [x] Row 1 (registered on #1899): the 2023 `rac_advanced` export names
247617 and 247677 `Compound Ceiling:Furred Ceiling:<id>` as the 2022
save does, with the same GlobalIds and the six property sets of the 2022
export (`Pset_CoveringCommon` and `Pset_EnvironmentalImpactIndicators`
among them) and the same type relation; `parameter_value_count` 19,973
to 19,979 (every save from 2015 to 2022: 19,979). Read on the kept
exports of run
[43424242937](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43424242937)
and the diagnostics of the unfiltered run.
- [x] Row 2: no other export of the 146 changes and no other
diagnostics: 145 of 146 and 120 of 121 identical, the one of each being
the 2023 `rac_advanced`
([43420558633](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43420558633),
unfiltered, `db6abe17` against `0c58ea68`). The materials reader moved
no export.
- [x] Row 3: the held-out models are among the 146 and change in none of
their counts.
- [x] Row 4: the `same-project gates` check passes on `db6abe17` (15
samples held to their earlier saves, and the Areas on 4 saves and on the
2021 save).
- [ ] This PR's CI (I cannot build locally, so CI is the first compile
of this change).

## Audit-honesty checklist

- [x] README / docs reflect the current state after this PR (no claim of
a new feature; RE-180's wording on which id is the type is corrected in
RE-451)
- [x] A user-visible change has its entry as a fragment under
`changelog.d/fixed/`
- N/A: no limitation resolved or introduced
- [x] Commit messages describe WHAT changed and WHY
- [x] No emojis in code, docs, or commit messages
- [x] No private paths, personal email addresses, or internal jargon in
committed files
- [x] A reverse-engineering finding: the reproducible probe is
`probes/examples/probe_1899_ceiling_type_names.rs` (PR #1905)

## Legal and contribution hygiene

- [x] I agree this work is licensable under Apache-2.0
- [x] This PR contains no Autodesk proprietary source, decompiled
internals, or NDA'd SDK content
- [x] No new test fixtures

## Breaking changes

None. A 2023 export may gain a type name and its property sets on an
element whose type a one-character name hid; no other change is expected
(row 2).

## Related issues

Closes #1899.
@DrunkOnJava DrunkOnJava changed the title research(elements): a probe lists each covering's native record and its saved parameters, for the two furred ceilings the 2023 save of rac_advanced loses the parameter sets of (#1899) research(elements): probes list each covering's native record and saved parameters, and repeat the 2023 system type choice for the furred ceilings that got no type (#1899) Nov 13, 2026
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 13, 2026 13:12
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Approved at 92e1fe4 by the review bot as a self-approval, under Griffin's answer of 2026-11-12 ("You are allowed to self-approve"): rvtDevelop's session has not read it. A probe-only pull request; I re-read each probe file as if another session had written it, and each ran on Measure and produced the output the issue comments quote.

@DrunkOnJava
DrunkOnJava merged commit f52022e into main Nov 13, 2026
64 checks passed
@DrunkOnJava
DrunkOnJava deleted the research/1899-covering-parameters branch November 13, 2026 13:32
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