View code behind Geoprocessing Tool

2857
2
Jump to solution
06-21-2013 12:54 PM
JoshSaad1
Occasional Contributor II
I routinely merge and export my data using a repetitive process using the Merge tool and the Feature Class to Feature Class tool.  Is it possible to view the script that's generated when I execute these tools to save as a script?
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
ShaunWalbridge
Esri Regular Contributor
From the results pane, you can right click on an executed command and select 'Copy As Python Snippet' to get the relevant Arcpy method and parameters. You could also set up a basic model using Model Builder which could run each step sequentially that you're using.

cheers,
Shaun

View solution in original post

0 Kudos
2 Replies
ShaunWalbridge
Esri Regular Contributor
From the results pane, you can right click on an executed command and select 'Copy As Python Snippet' to get the relevant Arcpy method and parameters. You could also set up a basic model using Model Builder which could run each step sequentially that you're using.

cheers,
Shaun
0 Kudos
JoshSaad1
Occasional Contributor II
Thanks!  This is going to save me so much time.
0 Kudos