不具合 ID 番号 |
BUG-000151539 |
送信されました | August 12, 2022 |
最終更新日 | February 7, 2025 |
適用対象 | ArcGIS Pro |
見つかったバージョン | 3.0 |
オペレーティング システム | N/A |
オペレーティング システムのバージョン | N/A |
ステータス | Non-Reproducible
この問題は、開発チームによるテスト時に再現されませんでした。 問題が再現できない場合、またはソフトウェアの開発バージョンで関連性がなくなった場合、問題に対処するための特定の修正プログラムがインストールされていない場合にこのステータスが与えられることがあります。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
|
参考情報
This issue is non-reproducible. Use the following modified script to join the newly changed directory so the LYRX can be found correctly:
import os
import arcpy
print(f'Currently in {os.getcwd()}\n')
fldr_scratch = os.path.join(os.getcwd(), 'fldr_scratch')
os.chdir(fldr_scratch)
print(f'Now in {os.getcwd()}\n')
layer = arcpy.mp.LayerFile(os.path.join(fldr_scratch, 'Boundary.lyrx'))
print(layer.filePath)
対処法
Use the full path to the layer file (.lyrx) as a string or by using the os.path.join() function.
再現の手順