await eda.dmt_EditorControl.openDocument('9a6096762e036e23'); await new Promise(r => setTimeout(r, 1500)); const hit = []; for (const w of await eda.sch_PrimitiveWire.getAll()) { const l = w.getState_Line(); if (!l) continue; const pts = []; for (let i = 0; i + 1 < l.length; i += 2) pts.push([Math.round(l[i]), Math.round(l[i+1])]); const touches = pts.some(p => (p[0] === 920 && (p[1] === 320 || p[1] === 570)) || (p[0] === 850 && p[1] === 320) || (p[0] === 890 && p[1] === 570)); if (touches) hit.push({id: w.getState_PrimitiveId(), net: w.getState_Net(), nSeg: pts.length / 2, pts}); } return hit;