Fix #4728. Bug where changing class doesn't work with IfcCSV if it didn't need to change anything.

This commit is contained in:
Dion Moult
2024-05-26 21:57:08 +10:00
parent 3e31309384
commit 37cacfcd06
@@ -371,6 +371,7 @@ def set_element_value(
elif key == "class":
if element.is_a().lower() != value.lower():
return ifcopenshell.util.schema.reassign_class(ifc_file, element, value)
return
elif key == "id":
return
elif key == "classification":