creo_constrain_active_rectangle_symmetric_to_axes
Add X and Y axis symmetry to an active rectangle sketch in Creo: create centerlines, apply left/right and top/bottom constraints, verify via API readback, and update without accepting or saving.
Instructions
While the expected Creo part or skeleton is actively editing a rectangular sketch, identify exactly two vertical and two horizontal rectangle lines by guarded dimensions, create X=0 and Y=0 construction centerlines when missing, add left/right symmetry about Y and bottom/top symmetry about X, verify both constraints by API readback, and update the active sketch without accepting, exiting, regenerating, or saving it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expected_model | Yes | ||
| expected_width | Yes | ||
| expected_length | Yes |