I have written a simple script for component placement in Pcbnew using new Python API. It works, however I haven’t found a way to reload board in Pcbnew. When I make modifications to the board using script, changes aren’t visible until I close and open Pcbnew (since there’s no reload button). This is really annoying.
Hi @jbiondo. I tried to spawn a thread and calling pcbnew.Refresh() from there and KiCad crashed. Do you know any workaround to call pcbnew.Refresh from a thread and not just at the end of the script? Thank you.