solidworks how to get the center points selected entities

solidworks how to get the center points  selected entities macro

circles point to Macro

SolidworksApi macros