Assign Object Data By Nearest MText

Hey all,

Just sharing this in case it’s useful. Given pairs of Mtext and adjacent blocks, this script will assign the text contents to the object data of the nearest block.

AssignTextTo.dwg (1.1 MB)
AssignTextToBlockReferences.dyn (55.4 KB)


5 Likes

@WrightEngineering ,

Hi Shaun,

Thanks for this. Would you be able to advise on the node/nodes that I would use to extract the value of the OD record value per block reference?