How to get center point

Check out this discussion here: Group Centroid - #5 by RadovanG, it probably contains the answer you’re after.