Numéro d’ID de bogue |
BUG-000117445 |
Envoi | October 15, 2018 |
Dernière modification | June 5, 2024 |
S’applique à | ArcGIS Pro |
Version trouvée | 2.2.3 |
Système d’exploitation | N/A |
Version du système d’exploitation | N/A |
Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
Add MakeFeatureLayer and use that output as input to 'SaveToLayerFile'.
like so
arcpy.management.MakeFeatureLayer(lyr, "lyr1")
arcpy.SaveToLayerFile_management("lyr1", out_layer_file)
This makes the layer object something that the geoprocessing tools know how to work with.
Solution de contournement
Run the Python script in the Python window of ArcGIS Pro.
Étapes pour reproduire
ID de bogue: BUG-000117445
Logiciel: