On my version of KiCAD (5.1.6-release running on Windows), the Python call to “pcbnew.WindowZoom(10000000,10000000,200000000,200000000)” doesn’t seem to do anything. Tested on the modern Canvas. Does anyone see this working on their setup? It should zoom into the box defined by the x,y coordinates of 10mm, 10mm and with a width/height of 200mm/200mm.
Edit: it does zoom the window on Legacy canvas. On my display, the above command when using Legacy canvas zooms so the area in my display is from (mm) upper left -35,24 and a window width/height of 195/99