await eda.dmt_EditorControl.openDocument('7e9415a16a909c51'); await new Promise(r => setTimeout(r, 1200)); const pours = await eda.pcb_PrimitivePour.getAll(); const filled = new Set((await eda.pcb_PrimitivePoured.getAll()).map(x => x.pourPrimitiveId)); return pours.map(p => ({name: p.pourName, net: p.net, layer: p.layer, filled: filled.has(p.primitiveId)}));