is it possible to capture points in a 3d sketch and export theX,Y,Z coordinates to excel?

 

is it possible to capture points in a 3d sketch and export theX,Y,Z coordinates to excel?
SolidworksApi macros