Skip to content

RE-446 follow-up: do the current copies of a floor or wall type's layers hold on Revit 2008 to 2023? The held-out Revit 2020 file's four floors say not for materials #1805

Closed

Description

@DrunkOnJava

What

RE-446 (#1802) takes the current partition's copy of a host type's layers where a wall, floor, ceiling or roof type's copies disagree, on Revit 2024 and later only. The first Measure run of it took the current copy on every release and moved one held-out file of an older release, bimspeed-frigento-2020 (Revit 2020), for the worse (run 43151004964, counts only): 5 floors gained layer sets (layer sets written 12 to 17, every one within 0.001 ft of Revit's), one with Revit's set of materials and four without (IfcSlab different sets 2 to 6; elements with materials 100 to 105, the same set 98 to 99). The narrowed change leaves the file byte for byte main's (run 43155545709), so Revit 2008 to 2023 keep dropping a type whose copies disagree, and those five floors keep having no layer set.

It is not known which of two things the four floors show: that Revit's export of that file shows another state of the model than its save (tools/re/export_after_save.py reads no save time before Revit 2024, so the pair could not be dated), or that the current copy's materials are wrong for floors on that release.

Done when

A counts-only reading of the four floors (their types' copies in each partition, the layers and materials of each copy against the layer sets and materials of Revit's export) says which. Then either the current copy is taken on Revit 2008 to 2023 with that file's four floors equal to Revit's on materials, or the negative is recorded with its evidence. The corpora hold one such file; any other Revit 2008 to 2023 file with a type whose copies disagree makes the reading firmer.

Activity

  1. added
    area:ifc
    priority:P3
    type:bug
    on Nov 12, 2026
  2. DrunkOnJava commented on Nov 14, 2026

    @DrunkOnJava
    OwnerAuthor

    A counts-only reading. probe_1805_host_type_layer_copies lists every copy of a wall, floor, roof or ceiling type whose decoded copies disagree, with its materials read as the export reads them (on a 32-bit release from its Material records). tools/re/layer_copies_vs_ifc.py sets the first, latest and current copy against Revit's layer set by Tag: widths each within 0.5 mm, in either order, and material names. Branch research/1805-layer-copies at a28e49ea, Measure 43554317978.

    The held-out Revit 2020 file (bimspeed-frigento-2020): 2 floor types whose copies disagree, both with a current copy read, and 5 floors of them in Revit's export with a layer set.

    Copy Revit's widths Revit's widths and materials
    first 4 of 5 0 of 5
    latest 5 of 5 5 of 5
    current 5 of 5 5 of 5

    So on Revit 2020 the current copy is Revit's on every floor, materials included, and the first copy is never Revit's materials. RE-446's negative is the 4 floors whose materials came out wrong when the current copy was taken on every release. So the copy rule is not what failed there: the materials the export wrote for those layers did. Next: compare the export's layer materials on those floors with the probe's names (same copy, same file) to find the step that changes them. Until then, 2008 to 2023 keep dropping such a type.

    The other 17 held-out files have no host type whose copies disagree. On the BIM4LCA files, Revit's 2024 export gives the occurrences an IfcMaterialConstituentSet, so the scorer now reads the type object's layer set there. That rerun is 43555612089.

  3. 7 remaining items

  4. DrunkOnJava commented on Nov 14, 2026

    @DrunkOnJava
    OwnerAuthor

    Where the 4 unnamed layers' material is lost on the held-out Revit 2020 file: the export reads no category material for Floors there.

    Measure 43558313581 and 43559093841, probe at e9f6f51e, counts only:

    • Floor unnamed layers against Revit's: category material Revit's 0, not Revit's 0, not read 4.
    • The object-styles entry (RE-115's 2023 frame, which RE-180 and RE-181 apply to 2015 to 2022): the category followed by ff ff ff ff occurs 56 times. 2 of those carry the 1-or-2 word and 1 the u32 1, and none holds the 2023 frame. The mark (i32 -3000010) sits 20 bytes past the category on 2, where the 2023 entry has it at 30.
    • The graphics-style fallback (RE-206) errs on this release: the native record path does not read it.

    So the current copy holds Revit's widths on 5 of 5 floors, and its 4 unnamed layers get no material at all. A wrong one is not the issue.

    The held-out file only says where the read stops; it is not used to shape a reader. Next: the same probe on Autodesk's saves of 2015 to 2023 (run 43560071868), which prints each host category's material and the bytes around the mark. rac_advanced 2015 to 2020 have Revit's own exports to hold any reader change to. The held-out file is then read again as a count.

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:ifcpriority:P3type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions