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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"expected_model": "<expected_model>",
"expected_length": "<expected_length>",
"expected_width": "<expected_width>"
},
"name": "creo_constrain_active_rectangle_symmetric_to_axes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expected_model | Yes | ||
| expected_width | Yes | ||
| expected_length | Yes |