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)
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.