mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
ifc2x3 tests
This commit is contained in:
@@ -158,6 +158,7 @@ def get_psets(
|
||||
if qtos_only and not definition.is_a("IfcElementQuantity"):
|
||||
continue
|
||||
psets[definition.Name] = get_property_definition(definition, verbose=verbose)
|
||||
# NOTE: doesn't account for IFC2X3 missing HasProperties
|
||||
elif element.is_a("IfcMaterialDefinition") or element.is_a("IfcProfileDef"):
|
||||
for definition in getattr(element, "HasProperties", None) or []:
|
||||
if qtos_only:
|
||||
|
||||
Reference in New Issue
Block a user