get_pset, get_psets - don't fail on ifc2x3 profile psets and partially handle ifc2x3 material psets #6538

This commit is contained in:
Andrej730
2025-04-14 18:56:55 +05:00
parent 1516237537
commit b59e5b076d
3 changed files with 54 additions and 3 deletions
@@ -66,6 +66,10 @@ def add_pset(
like "Pset_WallCommon". If you create your own, you must not use
that prefix. It is recommended to use your own prefix tailored to
your project, company, or local government requirement.
In IFC2X3 should be provided as an empty string for profile properties
(they all don't have a name property) and all material properties
besides IfcExtendedMaterialProperties.
:param ifc2x3_subclass: IFC2X3 subclass for material or profile properties.
In IFC2X3 IfcProfileProperties and IfcMaterialProperties are abstract
so you need one of their subclasses to instantiate them.