mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Fix #3614. Remove_pset API now supports removing predefined property sets (E.g. door lining properties).
This commit is contained in:
@@ -57,6 +57,7 @@ class Usecase:
|
||||
inverse.RelatedObjects = related_objects
|
||||
should_remove_pset = False
|
||||
if should_remove_pset:
|
||||
properties = [] # Predefined psets have no properties
|
||||
if self.settings["pset"].is_a("IfcPropertySet"):
|
||||
properties = self.settings["pset"].HasProperties or []
|
||||
elif self.settings["pset"].is_a("IfcQuantitySet"):
|
||||
|
||||
Reference in New Issue
Block a user