Determine which polygon this point belongs BY measurement between each pointS

Hello all
Sorry, my language is not good

I have a list of points for each major polygon

I have another list of minor polygon points

Make a measurement between each point of the main polygon

With all the points of the minor polygons
Determine the shortest distance with any point

Then select this point

Then determine which polygon this point belongs to


Thank you all

Drawing2.dwg (934.8 KB)
test.dyn (39.1 KB)