I'm looking for a process in the ArcGIS API that would essentially function the same as "Select By Location" and "Update Cursor" in arpcy.
Basically, I have a point layer and a line layer, and I want to update attribute information of the line layer anytime the point layer intersects (or comes within 10m) of the line layer.
The best sort of quasi-solution I found so far is arcgis.features.find_locations where I can create a new output feature layer from this point-line intersection, though I don't necessarily want to create anything new - I just want to update what's already there.
I also want to build on this so that "Select By Location" changes per various where clauses, so that different line intersection queries are ran subsequently.
This is a pretty simple and straightforward workflow were I to be doing this in arcpy (Select By Location with where clause > Update Cursor > next item in list), though I can't seem to wrap my head around how I might be able to do this in the ArcGIS API. Any ideas?