Hi All,
Can anyone tell me how to call tool1 from tool2 in the same pyt file? I'm not seeing any documentation for this and my assumption that it would be called like any other tool via arcpy isn't right.
Thanks!
Solved! Go to Solution.
In case anyone else encounters this, I was able to force it with:
pyt_file = os.path.basename(__file__)
arcpy.ImportToolbox(pyt_file)
In case anyone else encounters this, I was able to force it with:
pyt_file = os.path.basename(__file__)
arcpy.ImportToolbox(pyt_file)