rowsr = gp.UpdateCursor(outLabelsFC) rowr = rowsr.Next() i = 1 while row: rowr.setvalue("row", (40 - ((rowr.fff - 1) / 35) + 1) + 1) rowsr.updateRow(rowr) i = i + 1 rowr = rowsr.Next()
Py is case sensitive so "Int" should be "int".Then in your 2 calculation statements you a have mismatch in the brackets.Have you tried testing this in the python ide directly.Cheers,N
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.