mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 15:06:25 +00:00
Fix #6711. Forgot to change the space elevation
This commit is contained in:
committed by
Massimo Fabbro
parent
1f0ac8fdb9
commit
eed42b8fac
@@ -217,6 +217,7 @@ def generate_space(
|
|||||||
if element and element.is_a("IfcSpace"):
|
if element and element.is_a("IfcSpace"):
|
||||||
mesh = spatial.get_transformed_mesh_from_local_to_global(mesh)
|
mesh = spatial.get_transformed_mesh_from_local_to_global(mesh)
|
||||||
spatial.edit_active_space_obj_from_mesh(mesh)
|
spatial.edit_active_space_obj_from_mesh(mesh)
|
||||||
|
spatial.translate_obj_to_z_location(active_obj, z)
|
||||||
else:
|
else:
|
||||||
if relating_type:
|
if relating_type:
|
||||||
name = model.generate_occurrence_name(relating_type, "IfcSpace")
|
name = model.generate_occurrence_name(relating_type, "IfcSpace")
|
||||||
|
|||||||
Reference in New Issue
Block a user