Hi all,
I have created a custom .pyt toolbox in ArcGIS Pro 2.9. I would like to use the created tools in a scripting environment, but unsure how to do this. When I run one of the tools, if I copy the python code it looks something like this:
arcpy.toolboxName,toolName(input,output).
However, if I try to run the script in arcpy, the toolbox is not loaded. How does one get the same functionality that is available within a GUI environment in ArcgisPro?
Even though I can copy and paste the python code, is that kind of pseudo-code that can't actually be used? When I try to cut and paste into a python window within an arcgisPro GUI, it doesn't work.
Just trying to understand python toolboxes and how to get them to play with scripts. It's a little redundant to write scripts and tools separately.