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
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.