laptop and a wrench

不具合

The topology error inspector becomes out of sync with the data after running the arcpy.management.ValidateTopology() function multiple times while editing in ArcGIS Pro.

ArcGIS Pro
不具合 ID 番号 BUG-000167674
送信されましたMay 21, 2024
最終更新日December 29, 2024
適用対象ArcGIS Pro
見つかったバージョン3.0.4
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
修正されたバージョン3.4
ステータスFixed

参考情報

This issue is addressed in ArcGIS 3.4.

対処法

Add one of the following workaround to the Python script but note sometimes the error inspect does not refresh and this results are inconsistent.

Python Workaround 1:

Changing the zoom level as mentioned in one of the community threads found during researching the issue:

 

def refresh():# 

Refresh the map view by changing the map scale.

# The map view changes by such a small amount that it isn't

# noticeable, but still causes the map view to refresh.   

   mv = aprx.activeView

   mv.camera.scale = mv.camera.scale + 0.1

 

Python Workaround 2:

Get or set the layerDefinition on the layer that is updated, through the CIM:

 

# Reference a project, map, and Layer using arcpy.mp 

p = arcpy.mp.ArcGISProject(' current' ) 

m = p.istLayers('Map') [0]

l = m.listLayers('main.cov')[0]

 

# Return the Layer's CIM definition 

l_cim = l.getDefinition( 'V2') 

 

# Push the changes back to the Layer object 

I. setDefinition( I_cim) 

 

# Save changes 

p. save( )

再現の手順

不具合 ID: BUG-000167674

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動