This commit is contained in:
Andrej730
2025-06-13 13:28:18 +05:00
parent 152c94a7d6
commit 176c5cc0fb
8 changed files with 63 additions and 28 deletions
@@ -1519,7 +1519,7 @@ def unbatch_remove_deep2(ifc_file: ifcopenshell.file) -> ifcopenshell.file:
lines = iter(ifc_string.split("\n"))
ids_to_delete = iter(sorted([e.id() for e in ifc_file.to_delete]))
id_to_delete = next(ids_to_delete, None)
result = []
result: list[str] = []
for line in lines:
if id_to_delete is None: