Toolbox creation in ArcGIS Pro

6064
0
05-19-2016 09:46 AM
Labels (1)
DanPatterson_Retired
MVP Emeritus
6 0 6,064

A visual demo.  Nothing fancy, more for the record.

1 Begin by creating a toolbox

tbx00.png

2  Specify a 'New' script to create a script in the toolbox

3  Now start filling out the dialog's General parameters.

tbx03.png

4 The actual Parameters section needs to be created to include Label, Name, Data Type, whether it is

    required,  optional or derived and whether it is an input or output parameter.

tbx04.png

5  Kind of obvious what needs to be done... elapsed time so far, 2 minutes.

tbx05.png

Some get a bit more complicated

6  You can fill out tool validation if you want.  I personally don't bother unless someone is paying.

tbx06.png

7  Time for the help stuff...this is important though

tbx07.png

8  Yes... the less than obvious save button will make things good. 

    You can include all kinds of stuff, like images etc.

tbx08.png

    Sidebar help

9 Ready to roll.

tbx09.png

10  Oh yes... the handy little 'i' symbol shows the tool help if you just need a quick tip on the input parameters.

tbx10.png

Total elapsed time from start to finish, less than 5 minutes.

--------------------------------------------------------------------------------------------------------------------------------------------

Extras

Multivalue parameters are possible

Store you toolbox, main script and helper script together

You can embed your script in the toolbox should you want to...just don't forget your password and keep a non-embedded version just in case.

About the Author
Retired Geomatics Instructor at Carleton University. I am a forum MVP and Moderator. Current interests focus on python-based integration in GIS. See... Py... blog, my GeoNet blog...
Labels