I did some searching on this topic first, but please feel free to respond with a link if this has been answered in a previous thread.
I am working on a switch module that goes in two directions. That is, the hardware version is both a 1-to-4 switch and a 4-to-1 switch. So I am looking for ways to do this in VCV Rack that are not too clunky. One approach is to hide the 1-to-4 ports while the 4-to-1 ports are visible, and vice versa. But can you programmatically hide and unhide ports, and disconnect ports before hiding them?
Other approaches? Thanks for your insights!