laptop and a wrench

Bogue

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

Dernière publication: August 25, 2014 ArcGIS for Desktop
Numéro d’ID de bogue NIM052741
EnvoiJanuary 11, 2010
Dernière modificationJune 5, 2024
S’applique àArcGIS for Desktop
Version trouvée10.0 Beta
Système d’exploitationWindows OS
Version du système d’exploitationXP
Version de correction10.1
StatutFixed

Solution de contournement

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

Étapes pour reproduire

ID de bogue: NIM052741

Logiciel:

  • ArcGIS for Desktop

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