不具合
不具合 ID 番号 | BUG-000157211 |
---|---|
送信されました | April 4, 2023 |
最終更新日 | June 5, 2024 |
適用対象 | ArcGIS Pro |
見つかったバージョン | 3.0.3 |
オペレーティング システム | Windows OS |
オペレーティング システムのバージョン | 10.0 64 Bit |
修正されたバージョン | 3.2 |
ステータス | Fixed |
As a workaround there are two options:
Use the arcpy.Describe command with the following result:
desc = arcpy.Describe(lyr)
print(desc)
>>> <geoprocessing describe data object object at 0x0000029FAADF2D10>
Use the arpy.da.Describe in the following way:
aprx = arcpy.mp.ArcGISProject("CURRENT")
m = aprx.activeMap
lyr = m.listLayers()[0]
print(lyr.name)
>>> TEST_PY
desc_da = arcpy.da.Describe(lyr)
print(desc_da)
>>> {'catalogPath': 'TEST_PY', 'FIDSet': None, 'children': [{'catalogPath': '', 'FIDSet': None, 'aliasName': '', 'attributeRules': [], 'baseName': '', …
and so on
ArcGIS エキスパートのサポートを受ける
Esri Support アプリのダウンロード