laptop and a wrench

不具合

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

最後に公開された状態: February 11, 2021 ArcGIS Pro
不具合 ID 番号 BUG-000136941
送信されましたJanuary 22, 2021
最終更新日June 5, 2024
適用対象ArcGIS Pro
見つかったバージョン2.7
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0
ステータスWill Not Be Addressed

参考情報

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

対処法

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")

再現の手順

不具合 ID: BUG-000136941

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動