Tuesday, July 30, 2013

GIS Programming, Lab 10: Creating Custom Tools

This week we learned how to create a custom tool using a script.  We had to modify a script and set the parameters.  Below is the result of setting the parameters of the script tool.


MultiClip tool parameter window

Next we had to run the tool.  The print statements don't appear when running a script tool so we had to change them to AddMessage statements.  We also had to modify the arguments slightly as well.  The commas needed to be replaced with "+" signs.  After doing so, informative messages appeared in the dialog box - allowing users to see the progress of the script tool.


MultiClip tool dialog window displaying messages of completed actions and successful run

No comments:

Post a Comment