laptop and a wrench

不具合

The legend element in an ArcGIS Pro project does not show the newly added layer to an existing map using ArcPy.

最後に公開された状態: April 29, 2019 ArcGIS Pro
不具合 ID 番号 BUG-000121607
送信されましたApril 9, 2019
最終更新日July 31, 2025
適用対象ArcGIS Pro
見つかったバージョン2.3.2
修正されたバージョン2.4
ステータスFixed

対処法

From our testing we found two workarounds:

  1. This only happens for scripts run outside of Pro. Scripts in the Python Window work as well as script tools.
  2. To remedy the problem outside of Pro, all you need to do is reference the layout first using

lyt = p.listLayouts()[0]   

 

BEFORE adding the layers to a map.

再現の手順

不具合 ID: BUG-000121607

ソフトウェア:

  • ArcGIS Pro

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

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

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

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

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

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

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