Erro
| Número de ID do Erro | BUG-000173742 |
|---|---|
| Enviado | January 21, 2025 |
| Última Modificação | June 19, 2025 |
| Aplica-se à | ArcGIS Pro |
| Versão encontrada | 3.3.2 |
| Sistema Operacional | Windows OS |
| Versão do Sistema Operacional | 11.0 64 bit |
| Status | As Designed |
If the desired M-values for every vertices in a field is available, use the below Python code:
import arcpy
# set workspace environment
arcpy.env.workspace = r"<the path to the geodatabase>"
# Feature class to update
fc = "BECSM"
# field name that contains values we want to assign to M
field_name = "Measures"
# Use Update cursor to update M-Values
with arcpy.da.UpdateCursor(fc, ["SHAPE@M", field_name]) as cursor:
for row in cursor:
# Get geometry and field value
row[0] = row[1]
# update the row with the new value
cursor.updateRow(row)
ID do Erro: BUG-000173742
Software:
Obtenha ajuda de especialistas do ArcGIS
Baixe o Aplicativo de Suporte da Esri