Generating csvsys file

Hi,

Do we have any events,methods,scripts  or any other ways to generate the .csvsys file?

I have the schema class, schema types and schema property stored in the database already and need to generate .csvsys file now.

Thanks in advance..