Renaming a toolbox: name, label, and alias
To rename a toolbox, right-click the toolbox in either the Catalog or ArcToolbox window and click Rename.
If you are going to use tools within your toolbox in scripts, or your toolbox is going to be used in different languages, you'll want to set the name, label, and alias properties by changing the toolbox properties. To change toolbox properties, right-click the toolbox and click Properties. The name, label, and alias properties can be changed on the General tab.
Toolbox name and label
A toolbox has both a name and a label. These name and label properties are to support localization (use by speakers of another language).
- The Name property is the language-independent name of the toolbox and is used as a language-independent reference to a tool within a toolbox in scripting.
- The Label property is language dependent, so if you give your toolbox to someone who uses a different language (or just doesn't like the label), he or she can change just the label without breaking any script references to the toolbox.
Both the Catalog and ArcCatalog window display the toolbox name. The ArcToolbox window displays the toolbox label, not the toolbox name. For example, suppose you have a toolbox with the name Watershed tools and the label Drainagebecken werkzeuge. If you add Watershed tools to the ArcToolbox window, the ArcToolbox window displays Drainagebecken werkzeuge.
If you rename a toolbox by right-clicking the toolbox and clicking Rename, the following logic is used:
- If the toolbox name and label are the same, the Rename command changes both the name and label to the new name.
- If the toolbox name and label are different, the Rename command changes only the name. The label is unchanged.
Toolbox alias
The alias is used when running tools in the Python window or in scripts and uniquely identifies the tool. Tools within a toolbox cannot have the same name, but it is possible for different toolboxes to have tools with the same name. For example, there are two tools named Clip, one in the Analysis toolbox (alias name analysis) and one in the Coverage toolbox (alias name arc). When you use Clip in the Python window, you are required to choose either Clip_analysis or Clip_arc.
The alias cannot contain spaces or special characters, such as an underscore (_).
The table below contains the aliases of all system toolboxes. You should never use these aliases for your custom toolboxes.
System toolbox |
Alias |
---|---|
3D Analyst |
3d |
Analysis |
analysis |
Cartography |
cartography |
Conversion |
conversion |
Coverage |
arc |
Data Interoperability |
interop |
Data Management |
management |
Editing |
edit |
Geocoding |
geocoding |
Geostatistical Analyst |
ga |
Linear Referencing |
lr |
Multidimension |
md |
Network Analyst |
na |
Parcel Fabric |
fabric |
Samples |
samples |
Schematics |
schematics |
Server |
server |
Spatial Analyst |
sa |
Spatial Statistics |
stats |
Tracking Analyst |
ta |