There are undocumented sysex strings you can send over MIDI that simulate button presses, not sure you can simulate press and hold in order to simulate the return to saved pattern, but maybe start here:
There are undocumented sysex strings you can send over MIDI that simulate button presses, not sure you can simulate press and hold in order to simulate the return to saved pattern, but maybe start here: