laptop and a wrench

Bogue

The Save To Layer File management tool fails and returns Error 999999 when run from the Python IDLE window in ArcGIS Pro.

Dernière publication: January 2, 2020 ArcGIS Pro
Numéro d’ID de bogue BUG-000117445
EnvoiOctober 15, 2018
Dernière modificationJune 5, 2024
S’applique àArcGIS Pro
Version trouvée2.2.3
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutKnown Limit

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:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement