Support owner histories for a bunch more usecases. About half done.

This commit is contained in:
Dion Moult
2021-03-26 10:39:07 +11:00
parent d4736710a5
commit 074a8c287f
7 changed files with 23 additions and 2 deletions
@@ -1,3 +1,6 @@
import ifcopenshell.api.owner.update_owner_history as update_owner_history
class Usecase:
def __init__(self, file, settings={}):
self.file = file
@@ -32,3 +35,4 @@ class Usecase:
)
)
self.settings["product"].RepresentationMaps = maps
update_owner_history.Usecase(self.file, {"element": self.settings["product"]}).execute()