Fix #6711. Forgot to change the space elevation

This commit is contained in:
Massimo Fabbro
2025-07-09 22:09:57 +02:00
committed by Massimo Fabbro
parent 1f0ac8fdb9
commit eed42b8fac
+1
View File
@@ -217,6 +217,7 @@ def generate_space(
if element and element.is_a("IfcSpace"):
mesh = spatial.get_transformed_mesh_from_local_to_global(mesh)
spatial.edit_active_space_obj_from_mesh(mesh)
spatial.translate_obj_to_z_location(active_obj, z)
else:
if relating_type:
name = model.generate_occurrence_name(relating_type, "IfcSpace")