laptop and a wrench

Bug

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

Zuletzt veröffentlicht: December 24, 2020 ArcGIS Pro
Bug-ID-Nummer BUG-000131219
EingereichtMay 28, 2020
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Pro
Gefunden in Version2.5.1
BetriebssystemWindows OS
Betriebssystemversion10.0
StatusKnown Limit

Zusätzliche Informationen

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().

Schritte zur Reproduzierung

Bug-ID: BUG-000131219

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln