Save Weldment Cutlist Table as a text file

Has anyone any suggestions on how to save a weldment cutlisttable on a drawing, as a text file.

TIA,
DMcTSolidworksApi macros