@jtm2020hyo wrote:
... to connect selected blocks .... to any nearest block of the selected blocks. ....
That makes it sound like the Circle in your image is a Block, not just a Circle, and that it is among the selected Blocks. But some of those smaller Blocks are closer to points on other smaller Blocks than they are to the Circle:

Also, if the Circle is one of the selected Blocks, shouldn't there also be a red line from its insertion point to the nearest point on one of the other Blocks? [If its insertion point is at its center, that would be to the smaller Block that's inside it.]
So I'm wondering: Do you really want to connect each Block's insertion point to the closest point on any other Block [my yellow lines], as your description suggests? Or do you want one thing selected as a "target" [the Circle here, whether or not it's a Block], and to connect the other Blocks to the nearest point on that [your red lines], as your image suggests?
Kent Cooper, AIA