laptop and a wrench

不具合

The env.workspace parameter is reset after using a tool in the Spatial Analyst toolbox.

最後に公開された状態: September 23, 2020 ArcGIS Pro
不具合 ID 番号 BUG-000132851
送信されましたAugust 5, 2020
最終更新日June 5, 2024
適用対象ArcGIS Pro
見つかったバージョン2.5.2
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスNon-Reproducible

参考情報

This issue is fixed and not reproducible in ArcGIS Pro 2.6.

対処法

The following workarounds are based on the findings of the user from the related case and GeoNet post:

  • No need to reset, simply printing it [the workspace] works fine.
  • Use full paths instead of the relative paths.
  • Use a ‘with arcpy.EnvManager(workspace = ‘\path\to\workspace):’ indent block rather than simply setting arcpy.env.workspace.

再現の手順

不具合 ID: BUG-000132851

ソフトウェア:

  • ArcGIS Pro

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

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

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

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

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

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

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