How to delete MIDI notes without deleting their CC automation

If the events are stored on a VST automation lane, you might try MIDI/Merge in MIDI loop. This throws up some options, one of them being to Convert VST3 automation lanes into CC events for the resulting part(s).

To get the opposite effect see, MIDI/Functions/Extract MIDI Automation.

Another possibility is that you’ve recorded or converted CC events into Note Expression events that are ‘note bound’ rather than floating freely on the timeline in a part. I believe these can be dissolved back into free floating CC events in the part(s) with MIDI/Note Expression/Dissolve Note Expression.

Again, to get the opposite effect (converting CC to NE) see, MIDI/Note Expression/Convert to Note Expression.