mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 18:43:26 +00:00
a3950ac191
get_pset and get_psets assumed RelatingPropertyDefinition is a single property definition and read definition.Name directly. When it is an IfcPropertySetDefinitionSet (a defined type wrapping a list of property set definitions) that attribute access raised AttributeError, so an element whose psets are grouped in a set returned none of them. Unpack IfcPropertySetDefinitionSet into its members in both loops and process each one. Single property definitions and the psets_only and qtos_only filters are unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>