diff --git a/src/ifcopenshell-python/ifcopenshell/api/alignment/add_vertical_layout.py b/src/ifcopenshell-python/ifcopenshell/api/alignment/add_vertical_layout.py index a537ab6843..6a388ff9d0 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/alignment/add_vertical_layout.py +++ b/src/ifcopenshell-python/ifcopenshell/api/alignment/add_vertical_layout.py @@ -61,6 +61,7 @@ def _move_vertical_layout_to_child_alignment( if representation.RepresentationIdentifier == "Axis" and representation.RepresentationType == "Curve3D": ifcopenshell.api.geometry.unassign_representation(file, parent_alignment, representation) ifcopenshell.api.geometry.assign_representation(file, child_alignment, representation) + child_alignment.ObjectPlacement = parent_alignment.ObjectPlacement break