Skip to content

An element written in pieces carries its further property sets on the first piece only #816

Closed

Description

@DrunkOnJava

What happens

An element whose sketch has separate loops is written as one BuildingElement per piece, all with the element's Tag, named …:2, …:3 (#331). The element's own property_set is cloned onto every piece. Every set it gets later goes on the first piece only:

What Revit's export does

Revit's export gives each piece all of the element's sets. In Revit's IFC4 export of Snowdon Towers' architectural model, 19 elements are written in pieces. Each :2 piece carries the same sets as the first, for example Pset_SlabCommon, Pset_ReinforcementBarPitchOfSlab and Pset_EnvironmentalImpactIndicators on Floor:Finish Floor - Polished Concrete (Grey):867994 and its :2 piece.

Why the scorers miss it

psets_vs_ifc.py keys an element by its Tag, which the pieces share, so the missing sets of later pieces do not show there.

Fix

Give each piece the element's sets once they are final. Then measure with an A/B on the samples, where Snowdon Towers' and the other 2024 samples' floors and landings are split.

Found in review of #815.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions