Not sure of the goal here, but to find center points of circles with box shaped lines I would have the user select the objects.
Filter for LINES, then find lines that shared an end point. This would create groups of 4 LINES.
Sort the groups based on the X or Y axis.
Then calculate the center point of each Box.
This results in the points you need.