Skip to main content

Module property_set

Module property_set 

Source
Expand description

Property and quantity set names using a reserved prefix (#511).

buildingSMART reserves the Pset_ and Qto_ prefixes for the sets its PSD/QTO catalog defines. A custom IfcPropertySet named Pset_FRS_BASt is legal EXPRESS, so no schema rule catches it, but the bSI validation service rejects it (rule PSE001) and every tool reading Pset_ names as catalog sets misreads it.

The check is a Severity::Warning: the file is legal, and very likely wrong. It needs the release’s catalog, which this crate does not link (the catalog belongs to ifc-template-catalog, and the facade composes the two); a caller supplies it as a PropertySetCatalog. Without one, a file using reserved names gets a single unsupported finding saying they were not checked, never silence.

For a set the catalog defines, the members inside it are checked too (#537): properties and quantities the template does not declare, and members whose entity form or value types differ from it. The catalog supplies the template through PropertySetCatalog::template; without one, those sets’ members are reported once per rule as not checked.

The prefix is matched without regard to case (PSET_x is reserved too); the catalog lookup is exact.

Structs§

CatalogMember
One declared property or quantity.
CatalogSet
One catalog set template: what kind of set it is and which members it declares.

Enums§

CatalogMemberForm
The entity form of a declared member, with the value types it declares.
CatalogQuantityKind
The family of a simple quantity.
CatalogSetKind
Whether a catalog set is an IfcPropertySet or an IfcElementQuantity.

Traits§

PropertySetCatalog
The set names a release’s PSD/QTO catalog defines.