You can now edit psets of profiles

This commit is contained in:
Dion Moult
2021-08-14 13:01:22 +10:00
parent 8300868a9b
commit 3e2b66ef2f
7 changed files with 85 additions and 1 deletions
@@ -42,6 +42,7 @@ class Usecase:
def append_profile_def(self):
if [e for e in self.file.by_type("IfcProfileDef") if e.ProfileName == self.settings["element"].ProfileName]:
return
self.whitelisted_inverse_attributes = {"IfcProfileDef": ["HasProperties"]}
return self.add_element(self.settings["element"])
def append_type_product(self):