Add support for editing calendar work and exception times and recurring work times

This commit is contained in:
Dion Moult
2021-04-29 13:16:47 +10:00
parent f8eb1c178a
commit 810d36781c
11 changed files with 359 additions and 26 deletions
@@ -0,0 +1,12 @@
import ifcopenshell.api
class Usecase:
def __init__(self, file, **settings):
self.file = file
self.settings = {"recurrence_pattern": None}
for key, value in settings.items():
self.settings[key] = value
def execute(self):
self.file.remove(self.settings["recurrence_pattern"])