You can now add and edit monetary units, and basic editing of other unit types.

This commit is contained in:
Dion Moult
2021-08-10 17:35:18 +10:00
parent 538029f396
commit ab38e6bf7c
14 changed files with 230 additions and 48 deletions
@@ -0,0 +1,9 @@
class Usecase:
def __init__(self, file, **settings):
self.file = file
self.settings = {"currency": "DOLLARYDOO"}
for key, value in settings.items():
self.settings[key] = value
def execute(self):
return self.file.create_entity("IfcMonetaryUnit", self.settings["currency"])