const out = {}; for (const c of await eda.sch_PrimitiveComponent.getAll()) { if (c.getState_ComponentType() !== 'part') continue; out[c.getState_Designator()] = (await c.getAllPins()).map( p => [p.getState_PinNumber(), Math.round(p.getState_X()), Math.round(p.getState_Y())]); } return out;