await eda.dmt_EditorControl.openDocument('f126ffb29c92f9b2'); await new Promise(r=>setTimeout(r,1000)); const M=39.3700787; const out=[]; for (const l of await eda.pcb_PrimitiveLine.getAll()) { const L=l.getState_Layer(); if (![1,2,15,16].includes(L)) continue; out.push([L, l.net, +(l.startX/M).toFixed(2), +(l.startY/M).toFixed(2), +(l.endX/M).toFixed(2), +(l.endY/M).toFixed(2), l.lineWidth, l.primitiveLock]); } return out;