How to map the text to the nearby line?

how to map the text to the nearby line.
thanks.


test.3dm (121.9 KB)

it was done.