replace api.run with static methods

This commit is contained in:
Andrej
2025-06-09 10:59:22 +05:00
parent 02d359d0e6
commit 8b4683aef1
122 changed files with 1334 additions and 1370 deletions
+2
View File
@@ -76,6 +76,8 @@ def test_file_gc(args):
def test_bug_2517():
fixtures = os.path.join(os.path.dirname(__file__), "fixtures")
model: ifcopenshell.file
library: ifcopenshell.file
model = ifcopenshell.open(f"{fixtures}/bug_2517_test2.ifc")
library = ifcopenshell.open(f"{fixtures}/bug_2517_lib.ifc")
result = model.add(library.by_type("IfcClassification")[0])