Tuesday, 2 August 2016

arcgis desktop - How does the geoprocessing results window store the tasks?


Yesterday I was working in a single mxd all day, performing dozens of calculations and other analysis using multiple tools. A lot of it was trial and error, so when I found the correct combination I would label it as such in the Results window before documenting it in OneNote.


Geoprocessing results


I opened and closed that mxd multiple times, and was able to rerun those tools I had labelled, as expected. When I opened that mxd this morning at work, I found that the tools I had renamed had been reset to their default names - as a result, I've had to trawl through each result until I found the ones I wanted.



What I would like to know is, seeing as the processed tasks persist between sessions as it stored inside the mxd, so even if I open it on a different computer the results are still there, why does it "forget" that I renamed some of them?



Answer



This looks like a bug to me because the documentation says that Rename on the Result shortcut menu ...



Renames the result. The default name is the tool name followed by the time and date.



I would recommend reporting it but in the meantime I would suggest that Copy As Python Snippet might be an alternative and perhaps better way to record results and re-run them later.




As commented by @MattWilkie:




... the bug is still present in 10.3. I logged it with Esri, BUG-000082214 - [Renaming a result in the Results window is not maintained when an MXD is closed and reopened.] (link here, once it gets published).



No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...