Implement assigning material definition representation styles

This commit is contained in:
Dion Moult
2021-07-10 22:06:11 +10:00
parent 6ccb208345
commit 1d523c9636
6 changed files with 105 additions and 7 deletions
@@ -12,6 +12,7 @@ class Usecase:
inverse_elements = self.file.get_inverse(self.settings["material"])
self.file.remove(self.settings["material"])
# TODO: this is probably not robust enough
# TODO: purge material definition representation
for inverse in inverse_elements:
if inverse.is_a("IfcMaterialConstituent"):
self.file.remove(inverse)