Skip to content

W7: windows' Pset_WindowCommon.FireRating is read from family-parameter table entries (R2025 models 12 to 17, held-out models) #1507

Closed

Description

@DrunkOnJava

Measured while reading #1185's door types (RE-354, #1490): Pset_WindowCommon.FireRating is missing from rvt-rs's export on every model whose Revit export writes one, and the family type table reader RE-354 adds does not reach it.

R2025 models 12 to 17 (puzzbobb's, Revit 25.0.2's IFC4 exports) give their windows a FireRating of 0.5h (RE-185 section 3.3). The text is an entry in the window family types' parameter table, but under the family-parameter ids 12482 and 12220 (both definitions named Fire Rating, group identityData, sharing one family-local GUID), not under -1001206, which the door types' and the office's family types' entries use. RE-354's reader takes only the built-in ids -1001206 and -1010108, so it does not meet them, and RE-77's reader (id first) does not either.

Census counts of Pset_WindowCommon.FireRating missing, the same before and after #1490: 4 on each of r2025-12 to r2025-17, 13 on each of the held-out 2024 to 2027 models and 11 on each of the held-out office 2024 to 2027 models (counts only), and 71 on Snowdon Towers Architectural (66 windows and 5 window types, scored against its local Revit IFC4 export; run 42135050819).

Done when: the table entries under the family parameters named Fire Rating are read from the bytes, with the definitions' ids found from their ParamElemFamily names rather than the two ids above, and Pset_WindowCommon.FireRating is written on the windows, and on their types where Revit's export writes one, equal on every model with an export, with the values Revit does not write unchanged; or a measured negative says which models were tested and why no rule separates the type that holds one, and the value stays missing, counted.

Activity

  1. added
    area:elements
    priority:P3
    type:feature
    on Nov 5, 2026
  2. added 2 commits that reference this issue on Nov 6, 2026
  3. DrunkOnJava commented on Nov 11, 2026

    @DrunkOnJava
    OwnerAuthor

    Found why the R2025 windows' 0.5h never reaches the type: the two Fire Rating family-parameter definitions hold their name 172 bytes past the header, where RE-93's reading looks 86 bytes past it, so a lookup by name finds neither.

    The probe is on draft #1730 (probe_1507_window_fire_rating_definitions), run by Measure 43113955464 on Revit 2025 models 12 and 16. Both read alike apart from the partition (6 and 10):

    • Definitions. Ids 12482 and 12220, both named Fire Rating, both with the name at offset 172 where PARAMETER_NAME_OFFSET is 86. 12482 is declared; 12220 is not. family_parameters_named("Fire Rating") returns nothing.
    • Entries. 0.5h is there: under 12482 on nine FamilySymbol records (12499 to 12513, odd ids, and 12549) and nine times on Family 6661; under 12220 nine times on LegendComponent 2413.
    • Result. type_text_parameters gives window type 12499 no FireRating.

    So the loss is the first of the three steps the probe tests: the name lookup. The attribution step never runs, and that is why #1730's reader change moved no export in its Measure.

    What this does not settle, and the next read must: what the 86 bytes before the name hold in this layout (a second header, or a longer first one), which other definitions in the 12-release corpus use it, and whether a Family record's nine entries and the LegendComponent's are the type's value or another owner's (RE-395 says a Family block is no type's). A reader change needs those first; #1730 stays a draft until then.

  4. 4 remaining items

  5. DrunkOnJava commented on Nov 14, 2026

    @DrunkOnJava
    OwnerAuthor

    A negative result for this issue: #1730 read Pset_WindowCommon.FireRating from the family parameters named "Fire Rating" (found by the definitions' name, read with RE-354's table rule) and moved nothing on any of 126 models (Measure 43086493417). The Revit 2025 models 12 to 17 still miss 4 each, so their 0.5h does not reach the windows through the family type tables. It was closed unmerged. Where Revit's export takes the value from is still open.

  6. DrunkOnJava commented on Nov 21, 2026

    @DrunkOnJava
    OwnerAuthor

    Fixed by #1964, released in 0.23.0. 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. That is where the R2025 window types hold their 0.5h, rather than the family-parameter table entries this issue first named.

    • Measure (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's run, 43543055879): 120 values go from missing to equal. That is the 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. For FireRating, "different" and "values Revit does not write" are 0 on every model.
    • Snowdon Towers Architectural, the last model in this issue's census, scored only against its local Revit IFC4 export (local only, counts only): Pset_WindowCommon.FireRating is 71 equal of 71, none different or missing, and no FireRating is among the values Revit does not write.
      • rvt-ifc from the 0.25.0 release asset rvt-rs-v0.25.0-aarch64-apple-darwin.tar.gz (sha256 be9ad3fb46a4f61f44d01c9a631666e6100d80395f8da38ee66fdbd5c9f2c301), with no flags, as Measure exports.
      • The 2024 sample Snowdon Towers Sample Architectural.rvt (sha256 33271010919acb2a0d0d040851393a511d86ea7fd9a1f4c054797ae03e5e44a1).
      • Scored with python3 tools/re/psets_vs_ifc.py model.ifc "Snowdon Towers Sample Architectural_IFC4.ifc" from main at 556139d4, under IfcOpenShell 0.9.0.post1. The export's sha256 is ecfcb04e3e818090cf818873fe76fba8b447742bbf4d19dad6d590f09cbb985a.

    Closing as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:elementspriority:P3type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions