Bug-ID-Nummer |
BUG-000145785 |
Eingereicht | January 5, 2022 |
Zuletzt geändert | October 7, 2024 |
Gilt für | ArcGIS Pro |
Gefunden in Version | 2.9 |
Betriebssystem | Windows OS |
Betriebssystemversion | 10.0 |
Status | As Designed
Nach Überprüfung durch das Entwicklungsteam wurde festgestellt, dass dieses Verhalten wie geplant ist. Weitere Informationen finden Sie im Abschnitt "Zusätzliche Informationen".
|
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