laptop and a wrench

Error

Feature layer fails to persist in ArcMap table of contents when added through the AddLayer function in script tool through ArcToolbox and using CURRENT.

Última publicación: August 25, 2014 ArcGIS for Desktop
Número de ID del error NIM052741
EnviadoJanuary 11, 2010
Última modificaciónJune 5, 2024
Relacionado conArcGIS for Desktop
Versión encontrada10.0 Beta
Sistema operativoWindows OS
Versión de sistema operativoXP
Versión corregida10.1
EstadoFixed

Solución alternativa

Option 1:- If using CURRENT, execute the script from the Python Window instead of ArcToolboxOption 2:- Instead of using CURRENT, access the MXD by file pathOption 3:- If using CURRENT and executing the script via ArcToolbox, add a layer using MakeFeatureLayer tool coupled with the SetParameterAsText method as described in KB31981

Pasos para reproducir

ID del error: NIM052741

Software:

  • ArcGIS for Desktop

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