In the geoprocessing results window, you can right-click on a result and select Copy as Python Snippet. This is very handy when writing python automation scripts. Rather than go through the process of executing the tool, it would be great if Copy as Python Snippet were available as a button at the bottom of the tool window. You open a tool window, enter the parameters, then before you hit Ok to begin tool execution, you could just copy the python code and paste it into your script with all the parameters intact.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.