Skip to content

Timber office at permit: walls of the types VS-2.CLTpinta and SPR-1 have no layers, so no IfcWallType, Width or Reference; RE-444 moves two retyped walls into the first #1802

Closed

Description

@DrunkOnJava

What

On the BIM4LCA timber office at building permit, walls of two types are written with a name that has no type (Wall-<id>), no IfcWallType, no material layer set, and so no Qto_WallBaseQuantities.Width, Pset_WallCommon.Reference or layered NetVolume: VS-2.CLTpinta (Type Id 3408088) and SPR-1 (2435488). On main that is 12 walls: 8 of VS-2.CLTpinta (1416616, 1445086, 2994576, 3065979, 3066427, 3071333, 3094656, 3449903) and 4 of SPR-1 (1636266, 1636317, 1636357, 2442530). The wall type's name is read (the export writes it as Other.Type and Other.Type Id); its layers are not.

With RE-444 (#1799, Measure 43139762399) two more walls, 1436343 and 2114950, join the VS-2.CLTpinta group. They were framed in Partitions/374, 407 or 410, and 424; the older frames name the type VS-2 (1351396), the newest, Partitions/424, names VS-2.CLTpinta (3408088), so the wall was retyped after the earlier save, and Revit's export gives both a Width of 0.158 m, not the older type's 0.176. The newest frame is right: the probe probe_re444_frame_type_slots (Measure 43145747467, rows on #1636) finds, of the 728 walls of the file framed in several partitions, that the newest frame names exactly one type definition on all 728 and none names zero or several. What the two walls lose is values that were wrong or coincidentally equal, to the same gap the other 10 walls of the type have:

  • Qto_WallBaseQuantities.Width of both walls: 0.176 against Revit's 0.158 m (different) to not written.
  • Qto_OpeningElementBaseQuantities.Depth of 5 openings in them (2793737 and four filled ones; 0.176 against 0.158): different to not written (opening Depth different 9 to 0, missing 9 to 14, the 4 others becoming Revit's).
  • Qto_WallBaseQuantities.NetVolume of 1436343 (equal) and the Height and Width of opening 2793737 (equal): no longer written. Their Reference is not written either.

The geometry is better: both walls have Revit's base and top.

Cause to read

A type's layers are read from each partition's copy of its data and "a type whose copies disagree is dropped" (partition_compound_structure::scan_type_layers). Type 3408088 has type records in Partitions/374 and Partitions/410. Whether its layer lists (and SPR-1's) disagree between copies, or do not decode, is not read; the next probe prints each copy's layers, and the width of the latest copy is set against Revit's Width (the names of the BIM4LCA office's types already take the latest partition's copy, #807, RE-145).

Done when

  • The reason VS-2.CLTpinta and SPR-1 have no layers is read from the bytes and recorded.
  • If the latest copy (or another fact in the file) gives Revit's layers, the types are written with them, and every wall that changes is measured against Revit's export (IfcWallType, Width, layer set); where Revit's exporters disagree the value is left out.
  • Otherwise the miss is recorded as a measured negative with the copies.

Related

#1799, #1710, #1046, #1407, RE-28, RE-444, #807, RE-145.

Activity

  1. added
    area:ifc
    priority:P3
    type:bug
    on Nov 12, 2026
  2. changed the title [-]Timber office at permit: walls 1436343 and 2114950 name no type from their newest frame, so 2 Width, 5 Depth and 1 NetVolume are not written (RE-444)[/-] [+]Timber office at permit: walls of the types VS-2.CLTpinta and SPR-1 have no layers, so no IfcWallType, Width or Reference; RE-444 moves two retyped walls into the first[/+] on Nov 12, 2026
  3. DrunkOnJava commented on Nov 12, 2026

    @DrunkOnJava
    OwnerAuthor

    The cause is read (rows, Measure 43147467736 and, with the routed partition added, 43149619654): the types' copies of their layers disagree, and scan_type_layers drops a type whose copies disagree.

    file type walls older copy latest copy
    timber office, permit VS-2.CLTpinta 3408088 10 Partitions/374: 140 + 13 + 13 = 166 mm 410: 140 + 18 = 158 mm (Revit's Width 0.158 m)
    timber office, permit SPR-1 2435488 4 374: one layer of 150 mm 442: 25 + 25 + 100 = 150 mm
    concrete housing, as built 1393872, 1423048, 1622382 11, 22, 1 1192: 570, 570, 150 mm 1207, 1208, 1207: 540, 540, 200 mm
    concrete housing, permit 1393872, 1454373, 1458023, 1573456 6, 8, 16, 4 1040: 570, 540, 70 (one layer), 300 mm 1158, 1158, 1143, 1158: 570, 540, 70 (three layers), 300 mm; three differ in a material only

    In every one the partition the element index routes the type to (current_partitions) is the latest. No other BIM4LCA file, Core Interior or RE1 Architecture has a wall type whose copies disagree. The newest frame of every multi-framed wall names exactly one type definition (728 of 728 on the timber office at permit), so the two retyped walls of RE-444 are typed right.

    The change, RE-446: a type whose copies disagree takes its current partition's copy where the copies in that partition give one list (the transform reader's rule, CopyRule::Current), and none otherwise; the unfiltered Measure of it against #1799's head is running (43151004964), rows on #1636. The Width, Reference and layer sets of the 14 walls on the timber office and the 34 + 34 on the housing are then measured against Revit's.

  4. DrunkOnJava commented on Nov 12, 2026

    @DrunkOnJava
    OwnerAuthor

    PR #1807 takes the current partition's copy of a host type's layers on Revit 2024 and later: the 14 walls of the timber office at permit gain their type, a layer set, a Width of 0.158 m and a Reference, 180 elements of six BIM4LCA files in all (report: reports/element-framing/RE-446-type-layer-copies.md in the PR). Revit 2008 to 2023 are #1805; two wall ends it moves are #1806.

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions