const L = (await eda.pcb_PrimitiveLine.getAll()).map(o=>[o.primitiveId,o.net,o.layer, Math.round(o.startX*100)/100,Math.round(o.startY*100)/100,Math.round(o.endX*100)/100,Math.round(o.endY*100)/100]); const V = (await eda.pcb_PrimitiveVia.getAll()).map(o=>[o.primitiveId,o.net, Math.round(o.x*100)/100,Math.round(o.y*100)/100]); return {L, V};