[GIS] Python: “Import Script” greyed out

arcgis-10.1arcgis-desktoppython

I have a tool that I created from a Python script which I update from time to time. Usually I will right-click the tool and choose Import Script, but lately this has been unavailable, as shown below:

enter image description here

This has been happening to almost all the tools I create, usually after a few imports. The problem is that if the script is cached the only workaround is to create a whole new interface, which can be pretty time-consuming. Does anyone know why this happens?

I found this post on the Esri forums describing the same problem:
http://forums.arcgis.com/threads/70829-Python-Import-Script-grayed-out

Thanks!

Best Answer

The question has been answered in Geonet:

you need to export script and then you gonna be able to add a new script... Don't overwrite the script you want to import.

https://geonet.esri.com/message/414853#414853

Related Question