laptop and a wrench

Bug

arcpy.Describe with data path as a parameter doesn't return the default aliasName for a geodatabase feature class or table.

Zuletzt veröffentlicht: January 11, 2018 ArcGIS for Desktop
Bug-ID-Nummer BUG-000109412
EingereichtNovember 9, 2017
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS for Desktop
Gefunden in Version10.5.1
BetriebssystemWindows OS
Betriebssystemversion7.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

If the alias has not been set in the table properties dialog, the alias box shows the table name, but the alias has not actually been set.

Workaround

1. Load the data to ArcMap and use the layer/table name as arcpy.Describe() parameter, such as arcpy.Describe("testtable")" instead of the data path.2. Design your script logic to assume a null return of "arcpy.Describe().aliasName" indicates "arcpy.Describe().Name".

Schritte zur Reproduzierung

Bug-ID: BUG-000109412

Software:

  • ArcGIS for Desktop

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln