await eda.dmt_EditorControl.openDocument('7e9415a16a909c51'); await new Promise(r => setTimeout(r, 1200)); let n = 0; for (const p of await eda.pcb_PrimitivePour.getAll()) if (String(p.pourName || '').startsWith('P')) { await eda.pcb_PrimitivePour.delete(p.primitiveId); n++; } return {deleted: n, left: (await eda.pcb_PrimitivePour.getAll()).map(p => p.pourName)};