Bug
| Bug-ID-Nummer | BUG-000128458 |
|---|---|
| Eingereicht | February 6, 2020 |
| Zuletzt geändert | February 10, 2025 |
| Gilt für | ArcGIS Pro |
| Gefunden in Version | 2.5 |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 10.0 64 Bit |
| Behoben in Version | 3.4 |
| Status | Fixed |
It is possible to use the getDefinition and setDefinition of the layer object as a workaround. Sample code:
import arcpy
aprx=arcpy.mp.ArcGISProject('CURRENT')
m=aprx.listMaps('Map')[0]
lyr=m.listLayers('TileLayer')[0]
lyr1=m.listLayers('TileLayer1')[0]
cimdef=lyr.getDefinition('V2')
cimdef1=lyr1.getDefinition('V2')
lyr.setDefinition(cimdef1)
Bug-ID: BUG-000128458
Software:
Unterstützung durch ArcGIS-Experten anfordern
Esri Support App herunterladen