mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
15 lines
384 B
Python
15 lines
384 B
Python
import ifcopenshell.util.element
|
|
|
|
|
|
class Usecase:
|
|
def __init__(self, file, settings={}):
|
|
self.file = file
|
|
self.settings = {
|
|
"pset_template": None
|
|
}
|
|
for key, value in settings.items():
|
|
self.settings[key] = value
|
|
|
|
def execute(self):
|
|
ifcopenshell.util.element.remove_deep(self.file, self.settings["pset_template"])
|