Bogue
| Numéro d’ID de bogue | BUG-000128458 |
|---|---|
| Envoi | February 6, 2020 |
| Dernière modification | February 10, 2025 |
| S’applique à | ArcGIS Pro |
| Version trouvée | 2.5 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Version de correction | 3.4 |
| Statut | 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)
ID de bogue: BUG-000128458
Logiciel:
Obtenir de l’aide auprès des experts ArcGIS
Télécharger l’application Esri Support