laptop and a wrench

Erro

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

Última Publicação: December 24, 2020 ArcGIS Pro
Número de ID do Erro BUG-000131219
EnviadoMay 28, 2020
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS Pro
Versão encontrada2.5.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0
StatusKnown Limit

Informações Adicionais

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

Etapas para Reproduzir

ID do Erro: BUG-000131219

Software:

  • ArcGIS Pro

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download