How can I get X,Y coordinate from refernce points on a spline?

I have a spline on a sketch, that I am wanting to split into 10 equal segments and then get the X,Y coordinates from those reference points created to put into a table. Is there an easy macro to do this? Technically I am created a 2d sketch and then creating a spline from the intersection of the outer face and sketch plane, then segmenting the spline equally to get the reference points. Thanks in advance.

SolidworksApi/macros