Is there any way to generate point location table in SolidWorks with respect to the co-ordinate system using the API??

After done a part placed some random location points for inspection.

Need to generate a table includes x,y and z point location with respect to the selected coordinate system.

SolidworksApi/macros