I would like to get the nearest text to the block base point as shown in the pic.
What have you tried so far?
Some outline steps:
- Get the location of all the text notes.
- Get the location of the block.
- Getometry.DistanceTo to tie the two together.
- List.SortByKey to sort the text by the distance from the block.