proj_replace_component
Swap a schematic component for a different library part while preserving its existing connections and designator. Specify the designator, new library reference, and optional source library.
Instructions
Replace a component with a different library part.
Keeps existing connections and designator, swaps the symbol and library reference. The component must exist on the active schematic sheet.
Args: designator: Component designator to replace (e.g., "U1", "R3") new_lib_ref: New library reference / component name new_library: New source library name (optional, keeps current if empty)
Returns: Dictionary confirming the replacement
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| designator | Yes | ||
| new_lib_ref | Yes | ||
| new_library | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||