In this video, Jennifer Harrison demonstrates how to make a custom toolbox and custom script tool. Learn how to load a script to a tool and how to set parameters for that script tool.
- [Instructor] Python scripts can be loaded…into Arc Toolbox as custom tools,…but they have to be loaded into custom toolboxes.…They can't be added to existing system toolboxes.…It's easy to create a custom toolbox…to hold your script tools.…All you have to do is decide where you want the…toolbox to live and what you want to call it.…Over here in the Catalog tree…you can see the Toolboxes folder.…I can put custom toolboxes right here in My Toolboxes,…which gets stored in my user profile.…
But these toolboxes are not really for sharing, right?…Since they're in my user profile.…Toolboxes can actually be created in any folder or…any Geo Database so that they're easier to share.…If a new toolbox is gonna contain scripts that…relate only one project,…I'll store them in a folder or Geo Database…where the rest of the project data lives.…Like in this Belize Geo Database.…But if there are more generic tools that I want…the entire team to use on various projects,…I'll just store them in a folder on my network…and let everyone know where they are.…
- Writing and running Python scripts in IDLE
- Making scripts flexible with variables
- Commenting scripts
- Manipulating string data
- Object-oriented programming in Python
- Creating loops
- Reading and writing text files
- Capturing input at runtime
- Documenting your scripts
Skill Level Beginner
1. Python for ArcGIS Basics
2. Strings, Numbers, and Variables
Work with numeric values5m 22s
3. Syntax Rules
4. Manipulating Strings
5. Object-Oriented Programming
6. Using Loops
7. Generate Log Files
8. Input at Run Time
9. Help Documents
Documenting a script1m 59s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.