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.…
Released
10/22/2018- 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
Duration
Views
Related Courses
-
ArcGIS Pro Essential Training
with Adam Wilbert4h 25m Intermediate -
ArcGIS Essential Training
with Adam Wilbert5h 31m Intermediate -
Learning ArcGIS
with Adam Wilbert3h 13m Beginner -
Learning Python
with Joe Marini2h 11m Beginner
-
Introduction
-
1. Python for ArcGIS Basics
-
Scripting overview3m 32s
-
Python throughout ArcGIS3m 43s
-
Write your first script4m 47s
-
-
2. Strings, Numbers, and Variables
-
Work with numeric values5m 22s
-
3. Syntax Rules
-
Basic Python syntax rules5m 38s
-
Comment scripts5m 19s
-
Reserved words3m 57s
-
-
4. Manipulating Strings
-
Special string characters3m 42s
-
Additional manipulations3m 50s
-
String functions5m 5s
-
-
5. Object-Oriented Programming
-
Incorporating site packages3m 58s
-
ArcGIS Python module3m 29s
-
Basics of ArcPy5m 48s
-
Help for ArcPy3m 53s
-
6. Using Loops
-
Use loops to work with lists5m 18s
-
Use the foreach loop3m 54s
-
Help for list functions3m 46s
-
Nested loops4m 42s
-
Conditional statements5m 46s
-
-
7. Generate Log Files
-
8. Input at Run Time
-
Making scripts dynamic3m 56s
-
Command-line arguments4m 40s
-
Creating a custom toolbox4m 14s
-
-
9. Help Documents
-
Documenting a script1m 59s
-
-
Conclusion
-
Next steps58s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Creating a custom toolbox