mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Support owner histories for a bunch more usecases. About half done.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user