creo_repeat_project_component_insert_pair
Clone an existing component's ALIGN and INSERT constraints, insert two instances at target X positions with new cylindrical surfaces, then verify, regenerate, and recycle old versions.
Instructions
Read one existing component instance in the current expected assembly, require its exact ALIGN plus INSERT surface-constraint method, then add two more instances using the same component references, datum sides, orientation, and assembly align surface while changing only the two cylindrical assembly surfaces. The tool verifies each new constraint and X position, regenerates and saves the assembly, and recycles older versions of only that assembly family.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expected_assembly | Yes | ||
| expected_component | Yes | ||
| target_x_positions | Yes | ||
| component_model_file | Yes | Existing component .prt or .prt.<version> file directly inside the current Creo working directory. | |
| target_insert_surface_ids | Yes | ||
| source_component_feature_id | Yes |