laptop and a wrench

Error

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

Última publicación: January 2, 2020 ArcGIS Pro
Número de ID del error BUG-000117445
EnviadoOctober 15, 2018
Última modificaciónJune 5, 2024
Relacionado conArcGIS Pro
Versión encontrada2.2.3
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoKnown Limit

Información adicional

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.

Solución alternativa

Run the Python script in the Python window of ArcGIS Pro.

Pasos para reproducir

ID del error: BUG-000117445

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga