Convert composite curve to single spline

Hi, I have several sketches made of different features (splines, arcs, lines, etc.). I need to extract points from these figures.

With elements made of multiple splines I usually simplify all the splines, extract the points and then re-create a single spline using those points.

With elements made of multiple features I could create a composite curve. My question is: can I convert the composite curve back into a single spline?

Thanks.

SolidworksApi macros