AnsweredAssumed Answered

Executing Model through ArcPy

Question asked by TinaEsri on Apr 13, 2016
Latest reply on Mar 15, 2018 by chricks

Recently I found some info about how one can access models in toolboxes using arcpy.

The command for accessing the toolbox is arcpy.ImportToolbox. But it is not clear to me, how to run the model, which command to use.

E.G. I have a toolbox called ‘UpdateModels.tbx’. In this toolbox I have created a model called ‘FirstStepUpdate’.

The way to access the model would be

arcpy.ImportToolbox('c:/ArcGIS/ UpdateModels.tbx; FirstStepUpdate')

But how do I get arcpy to execute the model?