I authored this macro as a user was looking for a way to get from Matrix Browser the element centroid coordinates expressed into a user-defined system (either a spherical, rectangular or cylindrical system).
https://youtube.com/watch?v=Oq1COcBwK3g&feature=shares