Convert Curve to XYZ data

I need to convert some curves to xyz data. Is there a way todo this? Maybe a macro? maybe a plugin? The file is attached. Apicture is attached.SolidworksGeneral