AnsweredAssumed Answered

Programatically transfer attributes from line to selected points: : Attribute transfer tool

Question asked by anncrystal on Feb 26, 2020
Latest reply on Feb 28, 2020 by Hornbydd

Spatial Adjustment>Attribute Transfer Tool in ArcMap transfers attributes between mapped source and target layers by mouse clicks. The disadvantage is you can do one point/line at a time. My problem is to transfer attributes from a single line (a street) to multiple selected points (selected address points).

I was looking into the documentation of IAttribute Transfer:

However, that code is looking into automated transfer of overlaying lines. I wanted to interactively select source line and target points by clicking and transferring just as Attribute Transfer tool does (in addition to do multiple selection of points) Any pointers or sample codes to achieve this? I am really stuck.