Select all X Chords in a piece of midi

Does anyone know if there is a select all matching chords function?

Use case is for example find me all the c major chords in a midi chord progression so I can change the inversion of that chord throughout my progression


There is no built in function like this. But I can imagine Logical Editor could do this.