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

Required
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


Q3

Thank you all

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