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 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项