import arcpy from arcpy import env arcpy.env.overwriteOutput = True xcel = arcpy.GetParameterAsText(0) arcpy.AddMessage("Got Sheet") rows = arcpy.SearchCursor(xcel) row = rows.next() arcpy.AddMessage("Got Rows") while row: arcpy.AddMessage("Start While") # Loop through rowns and pull incident name from Incident_Name field arcpy.AddMessage("Getting Assignment") Assignment = row.getValue("Assignment_Number") Description = row.getValue("Description") arcpy.AddMessage(Assignment) arcpy.AddMessage(Description) arcpy.AddMessage("Received Assignment") row = rows.next()
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.