A few ideas…
I’ve done some searching for a good plugin dedicated to the job. The things I could find are VST2 only, and haven’t been touched since like 2012! Maybe there’s some stuff out there I just don’t know about.
Groove Agent SE can load MIDI loops on a pad to be triggerd at will by a MIDI or instrument track, and it also provides an ‘output’ that can be set as the ‘input’ of other tracks. You won’t get a built in editor though.
You could import or make your loops on any ole MIDI track, and simply ‘drag the event(s) from the project editor’ to a pad in Grove Agent. Delete your scratch track when done. You can also drag MIDI files to a GA pad straight from your OS file selector.
With SE, you do need a kit loaded to get things to pass through. You can keep GA itself from sounding by soloing some empty pad. I.E. Just make a simple kit with only one instrument, maybe out of the way up on the very last pad (midi note 128), mute it, and then solo any other pad. Here I just drug any ole snare sample onto the last instrument pad. Muted it, and soloed the next pad down.
Now patterns will pass their output through a special GA MIDI output that other tracks can use as an input.
At that point you have several different methods to trigger such ‘pattern pads’ and route them to sounds in GA, or back out to ‘other tracks’. They can be looped, one shot, etc. Pad can be set to ‘touch one time’ and they play through or loop indefinitely until toggled off, or set up in a way that the pad must be ‘held down’ to keep the pattern playing. etc.
If you happen to have full Groove Agent, it has everything Groove Agent SE does times 4, plus a built in a diamond editor thing that can view, build, save, load and play back MIDI loops. Patterns can be passed to the MIDI outputs in full GA without having a kit loaded. The output can be connected as the input of other plugins/ports (and if not, a virtual port can make it happen). You get a bit more flexiblity in many areas than with the little brother SE.
Another Idea…
Run another MIDI sequencer/DAW in the background. Maybe one of the smaller/leaner versions of Cubase (AI/LE/Elements). Your Nuendo key should cover it.
If you need to play from this ‘second sequencer’ directly into Nuendo in real time, use a virtual MIDI port. It’d also be possible to sync the transports via MTC or VSTLink.
I have something called Bidule that can play and record MIDI and audio files or loops internally. They can sync with the DAW, or you can set up internal sync sources. It has some simple arp and step sequencers that allow you to edit what they do and save their states (no editors for a full MIDI file though). The full registered version can be loaded as both instrument or effect plugins. Multiple instances can communicate via OSC and/or over virtual MIDI ports.
Not sure if Bidule fits your particular need here since it doesn’t include a ‘MIDI file EDITOR’, but It’d take several books to describe what all Bidule can do. It might be that you could do the ‘editing’ in a fresh and totally clean/empty Nuendo project with no plugins loaded, and have bidule instances play back the results back in your main project.