set_component_pattern
Swap a component's pattern only when pad mapping is preserved exactly, with a dry-run preview to verify changes before applying.
Instructions
Swap to one embedded pattern only when pad mapping is preserved exactly. 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 |
|---|---|---|---|
| path | No | ||
| txid | No | ||
| dry_run | No | ||
| selector | Yes | ||
| allow_locked | No | ||
| pattern_style | Yes | ||
| expected_sha256 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||