Feature to Add Crew Resources and SubContract Resources with the ifcopenshell.api and blenderB

This commit is contained in:
bosonprojets
2021-04-23 06:38:11 +00:00
parent 18d7193efc
commit c7aa42bfd5
10 changed files with 400 additions and 1 deletions
@@ -0,0 +1,10 @@
class Usecase:
def __init__(self, file, **settings):
self.file = file
self.settings = {"resource": None}
for key, value in settings.items():
self.settings[key] = value
def execute(self):
# TODO: do a deep purge
self.file.remove(self.settings["resource"])