List Features

Hi,

I want to export list all features to csv ... I need a button to take my information from textbox and export it to csv.

     Thanks,

SolidworksApi macros