Skip to content

Room and area names on the BIM4LCA permit file: the readers drop copies that disagree instead of taking the latest partition's (RE-145) #800

Closed

Description

@DrunkOnJava

On the BIM4LCA office's building-permit file (Revit 2024, research/bim4lca-measure.tsv), rvt-rs names 1 of the 234 rooms as Revit's export does. 228 get no name and 5 get an older one: TEKN.SÄH where Revit writes ELECT. On the as-built file of the same office, 191 of 234 rooms are named as Revit names them (Measure run 39164049267, room_names_vs_ifc).

The permit file holds two copies of each room's and area's data, in different partitions. The older copy has the Finnish names and the newer one the English names, and Revit's export uses the English ones. For the 30 areas Revit exports as IfcSpace (#763), the data object whose number and name equal Revit's is the one in the higher-numbered partition, Partitions/398, on 30 of 30 (run 39165357834, examples/probe_area_records.rs on branch re/763-area-records).

The data-object readers in partition_room_parameters drop an element whose copies disagree:

  • scan_room_parameter_entries (RE-117);
  • scan_text_parameter and scan_room_text_parameter (RE-153);
  • scan_integer_parameter (RE-158).

RE-145 established which copy is current: where copies of an element's record differ, the current one is the copy in the latest partition (1,518 of 1,522 differing ids on seven files), and the native path already reads it so. These readers should take the latest partition's copy too, and give nothing only when copies within that partition disagree. To measure: room_names_vs_ifc on both office files, against main, plus the reference models and the samples.

Activity

  1. added
    type:bug
    area:partitions
    area:elements
    priority:P1
    on Oct 18, 2026
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:elementsarea:partitionspriority:P1type:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions