laptop and a wrench

Bug

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

Last Published: July 5, 2022 ArcGIS Pro
Bug ID Number BUG-000145785
SubmittedJanuary 5, 2022
Last ModifiedOctober 7, 2024
Applies toArcGIS Pro
Version found2.9
Operating SystemWindows OS
Operating System Version10.0
StatusAs Designed

Additional Information

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.

Steps to Reproduce

Bug ID: BUG-000145785

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options