The instructions provided describe to create a Python toolbox and store it as a system toolbox in ArcGIS Pro, easily accessible for any project through the Geoprocessing pane, and intended for all users.
Note: The web help document, ArcGIS Pro: Adding toolboxes in Python describes how to add a Python toolbox in ArcGIS Pro. The article also mentions the a Python toolbox can be stored as a system toolbox in ArcGIS Pro, however, the document does not provide any instructions on how to do so.
Note: The Catalog pane is called the Project pane in ArcGIS Pro prior to version 2.0.
class Toolbox(object): def __init__(self): """Define the toolbox (the name of the toolbox is the name of the .pyt file).""" self.label = "ToolboxTest1" self.alias = "PythonToolbox"
Get help from ArcGIS experts
Download the Esri Support App