Add text layer as attribute to polyline in Global Mapper

Hello!

I have the following 2 dwg drawing layers:

one is text one is polylines

I need to make the text closest to a polyline, its attribute.

Does anyone have any idea how i can do that?