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)
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.