Skip to content

fix(elements): on Revit 2023 an element-data name of one non-ASCII character is not taken as a name, so the two furred ceilings of rac_advanced find their type (#1899) (RE-451) - #1907

Merged
DrunkOnJava merged 3 commits into
mainfrom
fix/1899-lone-name-2023
Nov 13, 2026

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

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, and the rows registered before this PR's run are on the issue. 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:

  • The probe probe_1899_ceiling_type_names (PR 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) 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.
  • Row 1 (registered on Revit 2023 rac_advanced: two furred ceilings (247617, 247677) lose their parameter sets, six values short of the 2022 save #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 and the diagnostics of the unfiltered run.
  • 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, unfiltered, db6abe17 against 0c58ea68). The materials reader moved no export.
  • Row 3: the held-out models are among the 146 and change in none of their counts.
  • 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

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

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.

…aracter is not taken as a name, so the two furred ceilings of rac_advanced find their type (#1899) (RE-451)

The element before each furred ceiling (247616 and 247676) frames a one-id list first, which read as a one-character name, so it was a candidate for the ceiling's type beside the type itself, 242823, and neither was the more specific: the 2023 save wrote Ceiling-247617 and Ceiling-247677 with no Pset_CoveringCommon, six parameter values short of every save from 2015 to 2022. 2015 to 2022 drop every one-character name (RE-180); 2023 now drops a lone non-ASCII one, as its name entries already did, and keeps an ASCII one-letter name.
…o furred ceilings no type: the element before each reads as a one-character name (#1899) (RE-451)
…before, the 2023 rac_advanced gains its two ceilings' type and six property sets each (#1899) (RE-451)
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 13, 2026 12:28
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Approved at 123c2ff 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 the head sent to it at about 12:45 UTC. I re-read the whole diff (the five lines of find_element_data_names_32 and its corrected doc comment, the RE-451 report, the status paragraph and the two stale clauses it changes) as if another session had written it. The four rows registered on #1899 before the run all hold (run 43420558633 and the kept exports of 43424242937).

@DrunkOnJava
DrunkOnJava merged commit a085f8a into main Nov 13, 2026
63 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1899-lone-name-2023 branch November 13, 2026 13:10
DrunkOnJava added a commit that referenced this pull request Nov 13, 2026
…ed parameters, and repeat the 2023 system type choice for the furred ceilings that got no type (#1899) (#1905)

## 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](https://github.com/DrunkOnJava/rvt-rs/actions/runs/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](https://github.com/DrunkOnJava/rvt-rs/actions/runs/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

- [x] This PR's CI (clippy over the probes crate is its compile; I
cannot build locally): the fast jobs of `92e1fe48` pass.
- [x] Measure `-f probe=probe_1899_covering_parameters`
([43416338575](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43416338575))
and `-f probe=probe_1899_ceiling_type_names -f samples=true -f
sample_years="2015 2023"`
([43418834070](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43418834070)):
read and posted on #1899.

## Audit-honesty checklist

- [x] README / docs reflect the current state after this PR (probes
only)
- [x] A user-visible change has its entry as a fragment under
`changelog.d/`: none, probes
- [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 probes are these
two, and the dated report is
`reports/element-framing/RE-451-lone-names-2023.md` (#1907)

## 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

## Related issues

Refs #1899 (closed by #1907).
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.

Revit 2023 rac_advanced: two furred ceilings (247617, 247677) lose their parameter sets, six values short of the 2022 save

1 participant