laptop and a wrench

不具合

The Apply Symbology From Layer tool does not apply symbology from a .lyrx file when running in a standalone script.

最後に公開された状態: December 24, 2020 ArcGIS Pro
不具合 ID 番号 BUG-000131219
送信されましたMay 28, 2020
最終更新日June 5, 2024
適用対象ArcGIS Pro
見つかったバージョン2.5.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0
ステータスKnown Limit

参考情報

This is as designed. It is not something designed to work from a standalone script (as the standalone script does not run within the context of Pro, and doesn't know what layers are available in a Project map unless explicitly told). For this reason, when calling the layer by name in script, it does not apply symbology, but in Python Window it does. The namespace of available layers in the map project map is accessed using the list of layers retrieved from .listLayers().

再現の手順

不具合 ID: BUG-000131219

ソフトウェア:

  • ArcGIS Pro

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

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

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

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

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

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

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