Skip to content

pset_validate's allow-list predates the IFC4 set table: it calls IFC4's own sets unknown #831

Closed

Description

@DrunkOnJava

rvt::ifc::pset_validate (public, called by nothing in the crate, its binaries, the Python bindings or the viewer) classifies property set names against a hand-written allow-list of seven sets (KNOWN_PSET_COMMON: Pset_WallCommon, Pset_DoorCommon, Pset_WindowCommon, Pset_StairCommon, Pset_ColumnCommon, Pset_BeamCommon, Pset_MemberCommon). Since #821 the crate carries IFC4's 278 standard sets generated from buildingSMART's definitions (ifc::standard_property_sets), and the production exporter writes many sets outside that list.

What it gets wrong today:

  • classify_pset_name and is_unknown_reserved_pset call every other IFC4 set rvt-rs writes reserved-looking and unknown: Pset_SpaceCommon, Pset_EnvironmentalImpactIndicators, Pset_SpaceCoveringRequirements, Pset_ManufacturerOccurrence and the rest.
  • mapping_examples says typed door recovery is unsupported (RE-19). RE-19 closed one route, the opening-index rows; doors are typed from their element records' BuiltInCategory and exported as IfcDoor with Pset_DoorCommon.

Measure's IFC4 property set check (#826) now does what the module set out to do, against buildingSMART's definitions.

What would close this: route the classification through ifc::standard_property_sets (a set IFC4 defines is standard, any other Pset_ set is reserved and unknown), or remove the module as superseded. It is public, so either change belongs in the CHANGELOG.

Activity

  1. added
    area:ifc
    priority:P3
    type:bug
    on Oct 19, 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:ifcpriority:P3type:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions