I've got to either be missing something obvious or misunderstanding the use of notebook completely.
I'm trying to string a bunch of simple models together to run in notebook.
They run as expected in Model Builder, but they just return the two print statements within "try" without in the snippet below (path hidden and the <space> didn't past into the spoiler). Various models do different things (table exports, change shapefiles, pull data from different places, etc.) though they reside in the same toolbox. What'd I miss?
Spoilerimport arcpy
arcpy.env.overwriteOutput = True
arcpy.ImportToolbox("secret path to toolbox...", "tbx")
####Table Exports####
#ManatronExportsToAssessorTablesPro
#will not be needed once everything is converted to Pro
try:
print("start ManatronExportsToAssessorTablesPro")
arcpy.ManatronExportsToAssessorTablesPro_tbx
print("finish ManatronExportsToAssessorTablesPro")
except:
print("failed ManatronExportsToAssessorTablesPro")
Thanks,
Tycho