creo_add_project_component_align_insert_three
Add three component instances to cylindrical host surfaces with ALIGN and INSERT constraints, then regenerate and save. Refuses if the component already exists.
Instructions
Load one project part and add exactly three instances to cylindrical surfaces of a host component in the current expected assembly. Every instance uses a verified planar ALIGN constraint plus cylindrical INSERT constraint with yellow datum sides, is checked by API readback, and the assembly is regenerated, saved, and cleaned to its newest version. The tool refuses to run when an instance of the expected component already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expected_assembly | Yes | ||
| expected_component | Yes | ||
| target_x_positions | Yes | ||
| component_model_file | Yes | ||
| expected_host_component | Yes | ||
| assembly_align_surface_id | Yes | ||
| host_component_feature_id | Yes | ||
| target_insert_surface_ids | Yes | ||
| component_align_surface_id | Yes | ||
| component_insert_surface_id | Yes |