asdasdasd
API select
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? #FeatureRequests#
jes 2017-01-26 04:23:42 comment 0 0 Feature Requests