fc = 'TEST.russellpythonguidtest' rows = arcpy.UpdateCursor(fc) for row in rows: row.PYTHONGUID = row.GlobalID rows.updateRow(row)
import uuid fc = 'TEST.russellpythonguidtest' rows = arcpy.UpdateCursor(fc) for row in rows: row.PYTHONGUID = '{' + str(uuid.uuid1()) + '}' rows.updateRow(row)
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.