Skip navigation
All People > Dan_Patterson > Py... blog > 2016 > May
2016

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.

Dan_Patterson

The ...py... links

Posted by Dan_Patterson Champion May 8, 2016

Newest Blog posts and Updates 

 

2019-02-27 Release notes for ArcGIS Pro 2.3.1—ArcGIS Pro | ArcGIS Desktop   Issues addressed list

2019-01-25 Release notes for ArcGIS Pro 2.3—ArcGIS Pro | ArcGIS Desktop Issues addressed list

2019-01-14  What's new in ArcGIS Pro 2.3—ArcGIS Pro | ArcGIS Desktop  lots to read!!!

2019-01-14 Numpy 1.16 released  Last release supporting python 2.x, but only until 2020

2018-12-02  Spyder 3.3.2 has been released, use your conda update skills  https://support.esri.com/en/technical-article/000019162      New...  

2018-09-28  Technical article on the ArcGIS Pro 2.2.2 rollback      New...  

                    ArcGIS Pro patch 2.2.2 …. Roll it back due to bug...   New...  

2018-09-27  Matplotlib 3.0 is released...   New...  

2018-09-19   Working-with-packages-and-environments-in-Spyder  New...  

A fantastic article on using one Spyder IDE installation for multiple environments

2018-09-19 Matplotlib 3.0 released New...

2018-08-30  Spyder... install once, use in multiple environments New... 2018-08-30

2018-08-16 Install Spyder, Jupyter console and Jupyter notebook for ArcGIS Pro by default  lets get on this one

2018-06-28 Python 3.7 official release   you really have to read about all the changes and additions

2018-06-26 ArcGIS PRO 2.2 released  extensive changes, additions and updates

2018-05-31  Beyond NumPy Arrays...  for those that haven't got there yet... just an FYI

2018-05-31 Threads and other cool stuff  for measurement, not sewing

 

 

 

.....  See the categories below for older posts

 

The Bug List and Change logs

Product information, main link including: Release notes, generic link to version fixes

ArcMap main link  http://support.esri.com/Downloads

ArcGIS ...:      :.10.6 issues addressed  :10.5.1 issues addressed  :.10.5.1 changes...  :. version 10.5 fixes... 

                       :. version 10.4.1 fixes   version 10.4 fixes...  

ArcGIS Pro... :.  ArcGIS Pro 2.2 ... issues addressed...  :. 

                     

ArcGIS Python API  :.. ArcGIS API for Python.. V1.2  New

Numpy ...:      :.  all versions  latest version 1.15   New

Python ...:      :. from 3.7 back  updated with  New

SciPy   ...:      :. release notes all versions 

MatPlotLib...: :. :.  version 2.1 release, version 2 release

Pandas......    :. version 0.20 release

 

To be updated as I see fit.  I have posted a number of blog posts and documents and list them in reverse order.

They are categorized as follows:

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

My toolboxes on ArcScripts 2.0 Beta  Link...

 

-------- Analysis:

 

-------- Scripting and associated activities:

 

-------- Raster and array analysis:

 

-------- Graphing, Data and Statistics:

 

-------- Esoterica:

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

-------- Documentation...

 

ArcGIS Pro Essential Workflows     ArcGIS Pro Essential Workflows - updated 

Python 2 and 3 key differences       key differences link

Main documentation page                Documentation | ArcGIS for Desktop

Arcpy and geoprocessing                What is geoprocessing?—Help | ArcGIS for Desktop

A good source of code examples    http://stackoverflow.com/

Esri at GitHub                                    Esri GitHub ...

Python home page for all versions   Welcome to Python.org

NumPy/SciPy documentation          NumPy — Numpy

Python for iThingy's                          Pythonista    comes with matplotlib, numpy and loads more

Advanced Python notes                    Python Scientific Lecture Notes — Scipy lecture notes

Matplotlib the graphing package       matplotlib: python plotting — Matplotlib 1.4.3 documentation

PythonPedia                                      https://pythonpedia.com/

Awesome Python                              http://awesome-python.com/

ArcGIS Pro, SciPy, Python...            Python en ArcGIS Pro - CCU2015.pdf

SciPy Lecture Notes                          Scipy Lecture Notes

How to make mistakes in python    How to make mistakes in Python... a useful link

--------