I have a model that runs fine in model builder. It will not run as a script exported from model builder, apparently because it contains a composite address locator. As a workaround, I have a python script that should call on the actual model to run. However, I think the model is crashing back at the geocode again. Any thoughts on what is causing the problem?
Here is the script calling the model:
import arcpy
arcpy.ImportToolbox(r"C:\Users\.......\My Toolboxes\Models.tbx", "TBX")
arcpy.Model1_TBX()
Is it the composite address locator that is still causing the problem? Should it be if the model runs fine on its own?
Here is the script calling the model:
import arcpy
arcpy.ImportToolbox(r"C:\Users\.......\My Toolboxes\Models.tbx", "TBX")
arcpy.Model1_TBX()
Is it the composite address locator that is still causing the problem? Should it be if the model runs fine on its own?