I have a script that relocates some parts in pcbnew. It works, except the screen doesn’t update after I run the script in the scripting console. View => Redraw doesn’t help. The following works, but is rather tedious:
Make a benign change so the file is marked as edited (else you can’t do step 3 below)
Then there’s one more detail: how do I save the modified board from the script? (The GUI doesn’t know the file has been modified, so it doesn’t enable the save button…)