This new feature allows to control module graphs via python scripts. You can:
create, destroy, and connect modules
change and retrieve the values of properties
wait for new input on connectors
wait for properties to get changed
This allows to build fully automatic batch processing pipelines.
How to load external modules from module toolboxes?
If you want to use modules from an external toolbox you must tell OpenWalnut how to load those modules. The OpenWalnut scripting interface is there a bit different from the Qt GUI. However there are two possibilities to tell the OW script interpreter where to search for additional modules.
Using an existing config.qt4gui file. If you have such a an file in your OW config directory you may place a symlink/copy symlink to it with the name config.script. config.script. Then the script interpreter will load the same module toolboxes as the Qt GUI. On Linux and MacOS, you could do:
cd ~/.OpenWalnutln -s qt4gui.config config.script
On Windows, just copy the config.qt4gui file and rename it to config.script
If you don't have such a config file, you might either create one by running and configuring the Qt GUI and then proceed as suggested above with a symlink/copy, or you can also create a plain text file named: config.script with the following line: