import arcpy fc = arcpy.GetParameterAsText(0) arcpy.AddMessage("FC:"+str(fc)) featcur = arcpy.SearchCursor(fc) #.next() causes problem - arcmap.exe process does not disappear after appilcation window is closed f_row = featcur.next() arcpy.AddMessage("DONE") del f_row del featcur arcpy.AddMessage("Mem released")
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.