Menu: Misc > Block > Export Block List…
Exports the list of block definitions in the drawing to a file.