不具合
| 不具合 ID 番号 | BUG-000173742 |
|---|---|
| 送信されました | January 21, 2025 |
| 最終更新日 | June 19, 2025 |
| 適用対象 | ArcGIS Pro |
| 見つかったバージョン | 3.3.2 |
| オペレーティング システム | Windows OS |
| オペレーティング システムのバージョン | 11.0 64 bit |
| ステータス | 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: BUG-000173742
ソフトウェア:
ArcGIS エキスパートのサポートを受ける
Esri Support アプリのダウンロード