This commit is contained in:
Andrej730
2025-01-27 13:07:07 +05:00
parent 5bd24b2760
commit e71a220f21
12 changed files with 104 additions and 13 deletions
@@ -18,7 +18,7 @@
import ifcopenshell
import ifcopenshell.util.representation
from typing import Optional
from typing import Optional, Any
def add_context(
@@ -191,6 +191,9 @@ def add_context(
class Usecase:
file: ifcopenshell.file
settings: dict[str, Any]
def execute(self):
if not self.settings["parent"]:
if self.settings["context_type"] == "Plan":