move_component
Move or rotate a component in an LTspice schematic, with warnings for overlapping bounding boxes and a list of orphaned wire endpoints.
Instructions
Move and/or rotate a component in an .asc schematic. Warns if the new position overlaps another component's bounding box, and lists wire endpoints orphaned by the move (the component's old pin coordinates are no longer connected to anything).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to .asc schematic | |
| reference | Yes | Component reference to move (e.g., 'R1', 'M3') | |
| x | Yes | New X coordinate (LTspice grid units) | |
| y | Yes | New Y coordinate (LTspice grid units) | |
| rotation | No | New rotation (omit to keep current) |