Erro
Número de ID do Erro | BUG-000157211 |
---|---|
Enviado | April 4, 2023 |
Última Modificação | June 5, 2024 |
Aplica-se à | ArcGIS Pro |
Versão encontrada | 3.0.3 |
Sistema Operacional | Windows OS |
Versão do Sistema Operacional | 10.0 64 Bit |
Versão Fixa | 3.2 |
Status | 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
Obtenha ajuda de especialistas do ArcGIS
Baixe o Aplicativo de Suporte da Esri