set_component_value
Modify component values in LTspice circuit files, with support for single or batch updates to streamline circuit design changes.
Instructions
Set component value(s) in a circuit file. Supports single or batch mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to circuit file (.cir, .net, or .asc) | |
| reference | No | Component reference for single mode (e.g., 'R1') | |
| value | No | New value for single mode (e.g., '10k', '100n') | |
| values | No | Batch mode: {reference: value} dict (e.g., {'R1': '10k', 'C1': '100n'}) |