laptop and a wrench

Bug

The addDataFromPath function in ArcGIS Pro fails to add a feature class if the project path is not set to CURRENT.

Zuletzt veröffentlicht: February 11, 2021 ArcGIS Pro
Bug-ID-Nummer BUG-000136941
EingereichtJanuary 22, 2021
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Pro
Gefunden in Version2.7
BetriebssystemWindows OS
Betriebssystemversion10.0
StatusWill Not Be Addressed

Zusätzliche Informationen

User error. Save the .aprx file before exiting the code.

Workaround

To add the data using the addDataFromPath function, the project must be opened and the path provided must be CURRENT.

aprx = arcpy.mp.ArcGISProject("CURRENT")

Schritte zur Reproduzierung

Bug-ID: BUG-000136941

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln