Macro to create spline from line segments.

I'm trying to use 3d scan data of human limbs within Solidworks.  The scanners output STL files, which often bog Solidworks down due to their many thousands of surfaces. 

What I'd like to do is create a number of parallel planes, and then capture cross sections (splines) of the STL limb using the "Intersection Curve" tool, and finally loft the splines together to form a smooth, unified surface, (which will be much easier for Solidworks to handle).

The time consuming part of this is: Once I start a sketch on a plane, and use the "Intersection Curve" tool, I end up with dozens, or hundreds, of line segments, which I must then convert to a single spline.  That's a lot of clicks.  Would it be feasible to create a macro for this?  Essentially a macro that would convert closed, irregular polygons, (which have varying numbers of segments (or end points)) into a spline.

Many thanks.

SolidworksApi macros