Calculated a field with a little ArcPy function yesterday and now I want to change it. Just realized that the function I defined, once run and the geoprocessing pane is closed, disappears.

Is there a way to add the function to the gdb toolbox so I can edit and re-run at will?

  • 1
    What's a gdb toolbox? Commented Sep 4, 2019 at 17:15

1 Answer 1


If I understand your question correctly, no it won't save the process in the geoprocessing results window if you run the script in the python window in an ArcGIS session or in an external IDE. However, if you create a Python toolbox from your script the results will be saved in the geoprocessing results window each time you run it in your session.


  • Thank you Pdavis. A few minutes after posting the question I remembered to go to the History tab in the Catalog. Right-clicking on the action gives me everything I asked for: opening it to edit, re-running, and saving as script. I will go ahead and create a python toolbox and save this into it. Thanks! Commented Sep 4, 2019 at 17:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.