Export xyz coordinates from 3d curve

Hi,

Does anyone know how to take a part that curves in 3D (cylindrical cross section...picture one of those funky drinking straws) and export a set of xyz coordinates that describes its trajectory in space?  See the attached image for an example of the kinds of parts I'm talking about.  I'm essentially trying to do the exact opposite of what the "curve through xyz points" function does.


Thanks!

Aaron

SolidworksGeneral