jes
7 years ago
Hi
I tried to change all pads(single and inside parts) sizes on PCB and decided to select it before
but this script select only single pads instead all pads
```
var result = api('getSource', {type:'json'});
var pads=[];
$.each(result.FOOTPRINT,(fn,fo)=>{
$.each(fo.PAD,(pn,po)=>{
pads.push(pn);
});
});
$.each(result.PAD,(pn)=>{
pads.push(pn);
});
api('select', {ids: pads });
```
does api have another function or can this function select all?