Switch to next pattern after clearing the bar over MIDI

Hi everyone

I’m using the OP-Z for a while now in a solo setup (together with a guitar). I’m using it for drum beats and the occasional synth part with a Arturia Keystep.

I would like to switch through parts of a song without chaining the patterns together in the project mode. I would like to send a MIDI CC Message for one simple thing:
– Switch to the next pattern after clearing the bar of the current pattern

Is there a way of achieving this with the OP-Z? Right now I try to time it when changing but I would like to do it with a foot-switch (or something similar), so that I can decide when I move to the next part of the song i.e. the next pattern on the OP-Z…