This commit is contained in:
Andrej730
2025-02-21 14:40:41 +05:00
parent 69535c53e0
commit cf1647a451
4 changed files with 4 additions and 4 deletions
@@ -50,4 +50,5 @@ def unassign_unit(file: ifcopenshell.file, units: Optional[list[ifcopenshell.ent
units_set = units_set - set(units or [])
if units_set:
unit_assignment.Units = list(units_set)
return
file.remove(unit_assignment)