mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix #4728. Bug where changing class doesn't work with IfcCSV if it didn't need to change anything.
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user