await eda.dmt_EditorControl.openDocument('7e9415a16a909c51'); await new Promise(r => setTimeout(r, 1500)); const out = {}; for (const c of await eda.pcb_PrimitiveComponent.getAll()) { if ((c.designator || '') !== 'U13') continue; const pins = await eda.pcb_PrimitiveComponent.getAllPinsByPrimitiveId(c.primitiveId); out.u13 = pins.map(p => ({n: String(p.padNumber), net: p.net || ''})); } const nets = await eda.pcb_Net.getAllNetName(); out.hasSCL = nets.includes('SCL'); out.dollar = nets.filter(n => n.startsWith('$')).length; out.nNets = nets.length; return out;