Get Textnote value and Assign to corresponding Element


Hi All,

I was trying to get textnote data and copy them to corresponding element as shown below, since i cant get element geometry or bounding box of the textnote i just get its location and create geometry from there, so that works fine the problem is it seems getting only 2 elements that’s intersecting? Note that the textnote are from imported drawing. Any better approach? Thanks.

Edit: Works with cross product, now the problem is matching values to elements