Skip to content

List every IFC4 property set of the entities rvt-rs writes, so a parameter named for any of them is written #817

Closed

Description

@DrunkOnJava

What happens

#815 writes a project or shared parameter named <set>.<property> in that set when ifc::standard_property_sets lists the set and property. The table lists:

  • the common set of each entity rvt-rs writes (Pset_WallCommon, Pset_DoorCommon, Pset_SpaceCommon, ...);
  • Pset_DoorWindowGlazingType;
  • Pset_SpaceCoveringRequirements and Pset_SpaceOccupancyRequirements.

A parameter named for any other IFC4 set those entities take is read nowhere and not written. Examples are Pset_SpaceFireSafetyRequirements.SprinklerProtection, Pset_SpaceLightingRequirements.ArtificialLighting, Pset_SpaceThermalRequirements, Pset_ConcreteElementGeneral and Pset_EnvironmentalImpactIndicators.

Why it matters

The BIM4LCA office, the only model measured that defines such parameters, uses only the listed sets. A project that loads a shared parameter file covering every IFC4 set has parameters for the others too.

Fix

  • Generate the table from buildingSMART's IFC4 ADD2 TC1 property set definitions (CLEANROOM.md source 4), with the generator in tools/ and the source recorded. standards.buildingsmart.org refuses automated fetches, so the definitions need another route, such as the release package.
  • Keep the kinds a parameter's value is read as (boolean, text, count, length, thermal transmittance).
  • Report in the export diagnostics the named parameters that are not written, so an omitted set shows.
  • Check against Revit's export of a model with such parameters where one can be found.

Found in review of #815.

Activity

  1. DrunkOnJava commented on Oct 19, 2026

    @DrunkOnJava
    OwnerAuthor

    A machine-readable source is buildingSMART's own: features/resources/IFC4/pset_definitions.csv in buildingSMART/ifc-gherkin-rules (MIT), the IFC4 definitions the validation service checks rule PSE001 against. It lists 420 sets, each with its applicable entities and every property's type. #815's 21 sets agree with it on every entity, property and type, apart from five properties whose type the CSV leaves empty: LoadBearing in Pset_RampCommon, Pset_RoofCommon and Pset_StairCommon, and ThermalTransmittance in Pset_RampCommon and Pset_StairCommon. The generator can read the CSV pinned to a commit, filter it to the entities rvt-rs writes and the kinds read from a parameter, and keep those five types as the other sets give them.

  2. added
    area:ifc
    priority:P2
    type:feature
    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:P2type:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions