Multiple 3D Sketchs and Point Export to Excel

Hello,

Looking for info on making or finding a macro that could look through all the 3d sketches in a part and pull the endpoints of each line segment out and into an excel document. I have searched the site and can only find macros that do it for a single sketch or also pull out the center points of arcs as well as multiples of the same point if they are constrained between sketches. I believe this could be solved with some post processing (IE checking distance between points and if one point is the same distance from two it can be considered center point for an arc and deleted or if it is the same poitn as another it could be deleted). Just not really sure where to start on this as I have limited excel macro experience and no solidworks macro experience.

Thanks!

SolidworksApi macros