Running a model tool

Models can be run from within ModelBuilder or from the model tool dialog box, Python window, or a stand-alone script. To run a model from its tool dialog box

Steps:
  1. Double-click the model tool on the Catalog window or ArcToolbox window.
  2. Fill in any model tool parameters.
  3. Click OK.
  4. The model tool is executed, and the final output is added to the ArcMap table of contents.

What happens when a model tool is run from the model tool dialog box?

When the model tool dialog box is opened, tool dialog box parameters are created for each model variable that is a model parameter (those that have a P next to the variable when viewed in ModelBuilder).

Once the model tool dialog box is opened, the parameter values are validated. If the value is blank (empty) and the parameter is required, a green dot will appear next to the parameter to signify that a value is required. If the value is not blank and is invalid (for example, the dataset or layer does not exist), an error message appears, and a red icon is shown next to the parameter.

When the model tool is run (by clicking OK), only the overall progress of the model is shown, not the progress of the individual tools or processes within the model.

There are some key differences when running a model from within ModelBuilder and running a model from its tool dialog box. When a model is run from its tool dialog box

Related Topics


9/13/2011