You need to use EasyEDA editor to create some projects before publishing
API select
788 0
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?
Comments
Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus-@1x -mockplus-

Cookie Notice

Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice