Unfortunately, I'm not very familiar with Cubase. I believe you need to use the File > Export MIDI File
But I think this might export the whole arrangement.
To export an individual MIDI part try muting everything. Now unmute the part you wish to export and use the export command above.
Let me know if this works as I don't have a copy of Cubase to try this out on.