AnsweredAssumed Answered

Update cursor in ArcGIS Pro SDK

Question asked by timw1984 Champion on Jun 13, 2019
Latest reply on Jun 13, 2019 by timw1984

Currently I have a feature layer from which I want to select features that have a certain value and then delete them.

With arcpy it  was quiet easy, I would use the following code

 

with arcpy.da.UpdateCursor( "C:\\topo.gdb\\DangleErrors_buffer_join", "Join_Count") as cursor:
  for row in cursor:
    if row[0] == 1:
      cursor.deleteRow()

 

How would I do this with the ArcGISPro SDK?

 

Thanks!

Outcomes