assembly_rename_component
Renames a component in a Fusion assembly and returns the updated occurrence paths, because old occurrence and proxy references stop resolving.
Instructions
Rename a component. The root component cannot be renamed (INVALID_PARAMS).
WARNING: occurrence paths contain the component name ('Box:1' -> 'Case:1'), so every old 'occurrence:Box:1' ref and '@Box:1' proxy ref stops resolving (ENTITY_NOT_FOUND); use the returned paths.
Returns {"component": "component:", "occurrences": ["occurrence:", ...]}.
Example: assembly_rename_component(component="component:Box", name="Case") -> {"component": "component:Case", "occurrences": ["occurrence:Case:1"]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Component name (unique in the design) | |
| component | Yes | Component: 'component:<name>' (an occurrence ref means its component) |