Numéro d’ID de bogue |
BUG-000145785 |
Envoi | January 5, 2022 |
Dernière modification | October 7, 2024 |
S’applique à | ArcGIS Pro |
Version trouvée | 2.9 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 10.0 |
Statut | As Designed
Après examen par l’équipe de développement, il a été déterminé que ce comportement est prévu. Pour plus d’informations, reportez-vous à la section Informations supplémentaires.
|
Informations supplémentaires
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.
Solution de contournement
Use file extension recognized by ArcGIS Pro for DGN files.
Étapes pour reproduire