How can I remove all drawing elements from my PCB design in KiCad using Python?
Removing all drawing elements from a PCB design in KiCad can be done using Python scripting. The provided script iterates through and deletes all drawing objects present on the board:

```python
import pcbnew

board = pcbnew.GetBoard()
for dr in board.GetDrawings():
   board.Delete(dr)

pcbnew.Refresh()
```

This script is useful when you need to clear all non-electrical drawings from a PCB, such as graphics or text, perhaps as part of a redesign or cleanup process.