Bogue
| Numéro d’ID de bogue | BUG-000125587 |
|---|---|
| Envoi | September 26, 2019 |
| Dernière modification | February 18, 2025 |
| S’applique à | ArcGIS Pro |
| Version trouvée | 2.4.1 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 |
| Statut | As Designed |
The object at index 0 in the result object is the layer to add Use the following code:
temp = arcpy.MakeFeatureLayer_management(r"C:\Temp\GreatLakes\GreatLakes.gdb\GreatLakes", "TestOutput")[0]
p = arcpy.mp.ArcGISProject('current')
m = p.listMaps('Map')[0]
m.addLayer(temp)
ID de bogue: BUG-000125587
Logiciel:
Obtenir de l’aide auprès des experts ArcGIS
Télécharger l’application Esri Support