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)
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.