← Back to team overview

kicad-developers team mailing list archive

Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

 

How do I call PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python? I can't find where it exists in the python hierarchy.
https://bugs.launchpad.net/kicad/+bug/1712233

I believe it's the solution to fixing a bug that prevents LayerViewSet.py from working well.https://github.com/HiGregSmith/LayerViewSet
https://forum.kicad.info/t/layerviewset-main-thread-a-python-script-for-manipulating-visible-layers/7400/23

Tomasz Wlostowski (twlostow) was kind enough to point out the possible solution to getting the layer visibilities updated in OpenGL canvas. Thank you, Tomasz!


Follow ups