Fixes problem moving alignment representation from parent to child alignment. Forgot to assign the ObjectPlacement

This commit is contained in:
Richard Brice
2025-07-14 11:09:02 -07:00
parent 2d3d747d49
commit a461281b1e
@@ -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