Bug
| Bug-ID-Nummer | BUG-000125587 |
|---|---|
| Eingereicht | September 26, 2019 |
| Zuletzt geändert | February 18, 2025 |
| Gilt für | ArcGIS Pro |
| Gefunden in Version | 2.4.1 |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 10.0 |
| Status | 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)
Bug-ID: BUG-000125587
Software:
Unterstützung durch ArcGIS-Experten anfordern
Esri Support App herunterladen