Is it possible to use a custom python toolbox (pyt) in a scripting environment (arcpy). For example I have created a .pyt toolbox and want to be able to call the individual tools in a scripting environment. Can one import the toolbox something like import example.pyt and then call the tools?
thanks for any information.
In ArcGIS, there is a function available arcpy.ImportToolbox(PathToToolbox)
. This will allow importation of tools into an arcpy script.