Hello,
I'm having a board with some components, leds and capacitors. all the leds has a prefix with running numbers 1-200 and related capacitors with prefix of c1-c200
I searched for the API code for rotating and moving parts:
`api('rotate', {ids:["gge2","gge3"],degree:90});`
And for moving:
`api('moveObjsTo', {objs:["gge2","gge3"], x: api('coordConvert', {type:'real2canvas',x: '10mm'}), y: api('coordConvert', {type:'real2canvas',y: '10mm'})});`<br>
<br>
<br>
The issue is that I don't know how to get the mapping between the IDs into the prefix, I was trying to rotate and move it via prefix without any success.
Does anyone familiar with how I can get the mapping between all my parts prefix to IDs? or moving parts via prefix?
Chrome
88.0.4324.96
OS X
10_15_6
EasyEDA
6.4.14