laptop and a wrench

Bug

Running a script on a DGN file with any extension reports an incorrect isDGN attribute.

Zuletzt veröffentlicht: July 5, 2022 ArcGIS Pro
Bug-ID-Nummer BUG-000145785
EingereichtJanuary 5, 2022
Zuletzt geändertOctober 7, 2024
Gilt fürArcGIS Pro
Gefunden in Version2.9
BetriebssystemWindows OS
Betriebssystemversion10.0
StatusAs Designed

Zusätzliche Informationen

ArcGIS Pro data format readers are strict on file extension. This allows for better performance in knowing a file's format without actually opening and reading the file's contents. Arcpy.Describe uses the standard 'format reader' functionality to recognize and open files from disk. ArcGIS Pro readers do not recognize .bat as a DGN format, so it returns False for arcpy.Describe.isDGN. Thus, unable to add a DGN with the .bat extension as a layer to ArcGIS Pro for the same reason.

Workaround

Use file extension recognized by ArcGIS Pro for DGN files.

Schritte zur Reproduzierung

Bug-ID: BUG-000145785

Software:

  • ArcGIS Pro

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