3D sketch

Hi,

Are there any macros to get the (X,Y,Z) of a 3d sketch withrespect to origin.
in a text or excel fomat.

Thanks,SolidworksApi macros