Update a pad
update_padUpdate specific pad properties in a PcbLib footprint by designator without replacing the whole component. Applies width/height/shape changes to stacked pad layers sharing the old primary value.
Instructions
Update specific properties of a pad in a PcbLib footprint without replacing the entire component. Find pad by designator and apply only the specified updates. On a stacked pad (stack_mode other than simple) a width/height/shape change also reaches the per-layer tables: layers that shared the old primary value follow it, layers with their own value keep it, and the response reports how many followed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, show what would change without saving (default: false) | |
| updates | Yes | Properties to update (only specified properties are changed) | |
| filepath | Yes | Path to the .PcbLib file | |
| designator | Yes | Pad designator (e.g., '1', '2', 'A1') | |
| component_name | Yes | Name of the footprint containing the pad |