Select to view content in your preferred language

create a python toolbox with an existing python script

392
2
04-26-2022 07:34 AM
GrégoireC
New Contributor III

Hello,

I would like to create a python toolbox, but in arcgis pro there is no longer the button to load the source script.

I wonder how i can define the source script ?

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

Creating the toolbox is done in Arctoolbox, then you add a tool and specify the script there.

Can you show where the issue is?


... sort of retired...
0 Kudos
Luke_Pinner
MVP Regular Contributor

I think you are confusing a custom toolbox with a python toolbox.  You can't add existing scripts to a python toolbox, you need to edit it and write a Tool class.

0 Kudos