Skip to content

fix(ifc): a door's or window's FireRating comes from its saved parameter captioned Fire Rating where its type's table gives none (#1507) - #1964

Merged
DrunkOnJava merged 1 commit into
mainfrom
fix/1507-saved-fire-rating
Nov 14, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
fix/1507-saved-fire-rating

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

A door's or window's FireRating now comes from its saved parameter captioned "Fire Rating" (its own value first, then its type's) where its type's family type table gives none, on Revit 2024 to 2027. puzzbobb's Revit 2025 window types hold their 0.5h that way, and Revit's export writes it as Pset_WindowCommon.FireRating, which rvt-rs leaves missing (4 on each of models 12 to 17, #1507).

Motivation

#1730 read the family parameters named Fire Rating through RE-354's type-table scan, and it moved nothing on 126 models: the value doesn't reach those windows through the tables. The batch 10 triage of #1507 pointed at the other reader: the saved parameters (RE-207) already hold it for model 12's window type. This takes it from there.

Changes

  • partition_schema_mvp/parameters.rs, attach_saved_fire_ratings: for the doors and windows with no type Fire Rating, one native_element_parameters::read_property_values pass that reads only records holding a definition captioned Fire Rating. The value is attached as the same m_type_parameter:Fire Rating field the type-table scan gives, so the export's existing rule writes it after a parameter named for the property (named_parameter_properties).
  • fields.rs: FIRE_RATING_CAPTION and SAVED_FIRE_RATING_REVIT_VERSIONS (2024 to 2027).
  • A changelog fragment.

Testing

Measure 43543055879, unfiltered against main, with nordic, r2025, samples and holdout. Registered before it runs:

  1. Pset_WindowCommon.FireRating (and Pset_DoorCommon.FireRating) equal rises on the R2025 models 12 to 17, with "different" and "values Revit does not write" unchanged on every model.
  2. The held-out pairs' FireRating missing counts fall or stay, and their "values Revit does not write" do not rise (counts only).
  3. Every other value is unchanged, and the exports that move are the ones holding a door or window with such a parameter.

If any value comes out different, or written where Revit writes none, the rule is narrowed or dropped before this leaves draft.

Measured (43543055879):

  • 120 FireRating values go from missing to equal: 4 on each of the R2025 models 12 to 17, 13 on each held-out house pair and 11 on each held-out office pair, 2024 to 2027.

  • different and "rvt-rs values Revit does not write" are 0 on every model.

  • Snowdon Towers Architectural's 2024 sample also moves (+7 property sets in schema.txt), and no Revit export scores it.

  • same-project gates passes.

  • tools/check-local.sh: no local builds; rustfmt --check passes; CI runs the rest.

Audit-honesty checklist

  • No claim beyond what the run will show; the doc comment's measurement line is set from the run before this is marked ready.
  • A changelog fragment.
  • No private paths or emojis.

Legal and contribution hygiene

  • Apache-2.0; no Autodesk source; no new fixtures.

Part of #1507.

…ter captioned Fire Rating where its type's table gives none, on Revit 2024 to 2027 (#1507)
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 14, 2026 02:25
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Measure 43543055879, unfiltered against main (2b4f18b) with nordic, r2025, samples and holdout, read against the rows:

  1. Held, wider than registered. Pset_WindowCommon.FireRating goes from missing to equal on 120 values in 14 models:

    • the R2025 models 12 to 17, 4 each, 0.5h;
    • the eight held-out pairs, counts only: 13 on each of the four house pairs (2024 to 2027) and 11 on each of the four office pairs.

    "different" stays 0 and "rvt-rs values Revit does not write" stays 0 on every model.

  2. Held. No held-out row moves for the worse: each pair's missing count falls by its FireRating count and nothing else moves.

  3. Held. 15 of 120 exports move: those 14, and Snowdon Towers Architectural's 2024 sample, which has no Revit export to score against. Every other export is byte for byte main's.

same-project gates passes on f3d8662 ("15 samples held to their earlier saves, and the Areas on 4 saves and on the 2021 save"). The doc comment's line ("held to puzzbobb's Revit 2025 models ... and to the held-out 2024 to 2027 pairs, counts only") is now what the run shows: 2024, 2025, 2026 and 2027 each have a pair that moved to equal.

@DrunkOnJava
DrunkOnJava merged commit 101ee58 into main Nov 14, 2026
65 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1507-saved-fire-rating branch November 14, 2026 02:40
DrunkOnJava added a commit that referenced this pull request Nov 21, 2026
…mpare and one-project-rules pages say what later work changed (#2132)

## Summary

Six pages said things later work has changed. Each sentence now says
what `main` does, worded from the report, changelog entry, workflow or
code that changed it. No code, export or `diagnostics.json` changes.

- **`docs/release-1.0-criteria.md`:**
- BIMcollab's Revit 2015 example writes none of what Revit's export
leaves out since RE-372 applied the export phase. The page said it wrote
3 more.
- A plate type's `Tag` (#1594) moves from "Open" to "Closed". It has
been left out since 0.18.0, because Revit's export takes it from one of
the type's plates in an order no record holds.
- Doors' and windows' `FireRating` (#1507) moves to "Closed" too. #1964
(0.23.0) writes it: 120 values equal from none on the 14 models Measure
scores. #1507's census also names Snowdon Towers Architectural's 71 (66
windows and 5 window types), scored only against its local Revit export.
On a local run of the released 0.25.0 binary, all 71 equal that
export's, none different, none missing, and no `FireRating` is among the
values Revit does not write. That run is local only and keeps counts
only.
- **`docs/export-diagnostics.md`:**
`profile_stub_longer_than_the_wall_is_thick` says the stub is half the
wall's thickness on 11 of the 12 walls RE-383 measured. Snowdon's wall
1996082 is the exception. The page said every stretch measured.
- **`RELEASE.md`:** a hotfix branch also copies
`.github/actions/fetch-re1`, which `main`'s `publish.yml` uses since
0.23.0. (0.14.1's branch carried a `publish.yml` that does not use it.)
- **`SECURITY.md`:** names 0.14.1, the one patch to an older line so
far: every other patch release, 0.5.1, 0.6.1, 0.12.1, 0.12.2 and 0.16.1,
patched the latest line of its day (0.16.1 was published nine hours
before 0.17.0). It was made for users who compare output exactly
(#1808), it carried the rmcp 3.9.0 update (RUSTSEC-2026-0462), and it
did not make the 0.14 line maintained.
- **`docs/ifc-compare.md`:** the paragraph saying the shipped note
strings lag the table named lags that are gone.
`catalogued_divergence_notes` in `src/ifc/compare.rs` quotes neither "31
over-trimmed wall ends" nor #219, and the table matches every note but
one. That one, `IFCSPACE`'s, says a room whose solid does not close
keeps its bounding box; from Revit 2023 such a room is drawn from its
saved mesh. The table row now gives a room's readings in
`docs/rooms.md`'s order (faces or edges, then from 2023 the saved mesh,
then the box), and the paragraph names that note and #2130, where the
code string is tracked.
- **`docs/one-project-rules.md`** (hand-written; no tool generates or
checks it): BIMcollab's example is local only, never stored or
committed, but unlike Snowdon Towers and the MIT models it is not
measured on this machine alone. Measure fetches it and its Revit export
from their source with `-f bimcollab=true` and keeps summary counts, so
a rule resting on it is measured in a run. The page said its export
cannot be fetched by Measure. Its four rows keep the label "local only",
as `docs/reference-models.md` uses it.

## Motivation

A read of the public pages against `main` at `166f945b`. Each finding
was re-read against its source before any text changed: RE-372, RE-383
and RE-288; the 0.14.1, 0.18.0 and 0.23.0 changelog entries; #1507's
census and #1964's results; the release list; `publish.yml`;
`compare.rs` against the table; and `measure.yml`.

Left out: `CLEANROOM.md` says every revit-ifc finding is checked against
Revit's own export before it lands, and RE-288's status says its
exterior members' values rest on revit-ifc's source. Other reports
citing revit-ifc are not yet read for the same. Changing that rule's
wording is the maintainer's call, so it is not in this PR. The same
"every stretch measured" line in
`src/ifc/export_content/wall_profile.rs`'s module doc is left for a code
change.

## Changes

- `docs/release-1.0-criteria.md`, `docs/export-diagnostics.md`,
`RELEASE.md`, `SECURITY.md`, `docs/ifc-compare.md`,
`docs/one-project-rules.md`: the sentences above, nothing else.

## Testing

Unit tests are banned in this repository: do not add them.

- [x] `python3 tools/ci/measured_numbers.py` passes with the same counts
as on `main` (287 of 305 numbers name a model, 9 marked as no
measurement).
- [x] `tools/ci/api-doc-ids.py` passes.
- [x] No Measure run: no code changes.

## Audit-honesty checklist

- [x] Each changed sentence agrees with the report, changelog entry,
workflow or code it names.
- [x] No changelog fragment: a documentation correction.
- [x] No emojis, private paths or internal jargon.

## Legal and contribution hygiene

- [x] Apache-2.0.
- [x] No Autodesk proprietary content.
- [x] No fixtures.

## Breaking changes

None.

Review: rvtReview, the maintainer session, wrote this change. As
rvtDevelop is not running, it re-reads the diff and approves the change
itself on a green head (Griffin, 2026-11-12).
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