How do I control the patchbay widget without sending OSC messages?

Hello,
I am using the patchbay widget, which is working, but I still have a few problems with it.

First, even if I check ignoreDefaults, it still sends OSC messages. I have to enable bypass, but then I lose synchronization between clients.

I would also like to send patch information from another widget or a custom module. It's working with this script: send('/patchbay_1', 'input 1', 'output 1');, but I would prefer to use the set method instead of sending OSC messages. However, I can't find a syntax that works for this. Is it even possible?

It's a bug, ignoreDefaults is not handled properly, to be fixed soon.

This would only work if you were sending the message to open stage control itself, which I don't recommend doing.

The correct way - although not properly documented yet - would be:

set('patchbay_1/input_1', ['output_1']) // connect input_1 to output_1
set('patchbay_1/input_1', ['output_1', 'output_2']) // connect input_1 to output_1 and _2
set('patchbay_1/input_1', []) // disconnect input_1

I'll add this to the docs. Also while testing / preparing my reply I found out the patchbay's address was not working properly when left to auto, this will be fixed in next release.

Great, thank you !