My Toolboxes
As noted previously, new tools are not being created, but instead the combination of different tools are being created to meet the needs of specific repetitive processes. In previous modules, tools have been used to automate processes, but there were no parameters created for input of information by the user, thus the code had to be modified for each application.
The tool creation will be performed through the use of a wizard and not require extensive Python script composition and is referred to as a My Toolbox. An example of a tool that is a python script is the multiple ring buffer, which is a python tool that calls the buffer command numerous times and uses a looping function.
The tool creation will be performed through the use of a wizard and not require extensive Python script composition and is referred to as a My Toolbox. An example of a tool that is a python script is the multiple ring buffer, which is a python tool that calls the buffer command numerous times and uses a looping function.
- Open Esri ArcCatalog and locate the Toolboxes section, see Figure 1.
- Right click on My Toolboxes, select New then Toolbox, and provide an appropriate name. In our example Test was the name chosen. Do not select the Python Toolbox, but just Toolbox.
- My Toolboxes use an extension of .tbx
- Python Toolboxes use an extensions of .pyt
- This process has created a blank toolbox, which contains no tools.
- open your IDE with an empty file
- save the blank file
- this will create a blank script file