漏洞
漏洞 ID 编号 | BUG-000091314 |
---|---|
已提交 | October 9, 2015 |
上次修改时间 | January 20, 2024 |
适用范围 | ArcGIS Pro |
找到的版本 | 1.1 |
服务器平台 | N/A |
客户端平台 | N/A |
Version Fixed | 3.1 |
状态 | Fixed |
Use the old update cursor or use the Calculate Field geoprocessing tool.
def workaround0():
rows=arcpy.UpdateCursor(os.path.join(geodatabase, fcName))
for row in rows:
row.intField = None
rows.updateRow(row)
def workaround1():
arcpy.CalculateField_management(os.path.join(geodatabase, fcName), 'thisField', 'getNone()', 'PYTHON_9.3', r'def getNone():\n return None')
从 ArcGIS 专家处获得帮助
下载 Esri 支持应用程序