Controlling the viewer¶
Natron exposes all functionalities available to the user in the Python API via the PyViewer class.
or use the following function
passing it the script-name of a viewer node.
You can then control the player, the displayed channels, the current view, the current compositing operator, which are the input A and B, the frame-range, the proxy level and various other stuff.