set_component_properties
Update selected PCB components by setting RefDes, name, value, or custom fields. Preview changes with dry_run and confirm via expected SHA256 before writing.
Instructions
Set RefDes, name, value or custom fields on selected components. All distances are in millimetres, regardless of the document's own Units attribute. Input schema: diptrace://schemas/tool-inputs. dry_run=true previews without writing. Set dry_run=false only after inspecting the preview and pass its expected_sha256.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | No | ||
| txid | No | ||
| value | No | ||
| fields | No | ||
| refdes | No | ||
| dry_run | No | ||
| selector | No | ||
| allow_locked | No | ||
| expected_sha256 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||