4

My process is to run Buffer on two feature layers, intersect the buffers and then Clip intersected buffers with polygon object from Iterate Feature Selection iterator. Here's my model: Model with iterator
The model runs Buffers and Intersect firstly, then iterate and create Single Object, and lastly Clip features. But in the next iteration it again runs Buffers and Intersect, what is not needed.

Is it possible to prevent running Buffers and Intersect in each iteration?
In other words, how to create Intersected buffers only once and then reuse it in each iteration?


EDIT:
Following blah's suggestion I managed to create desirable model. I enclose it, because it's slightly different than web-help example: enter image description here

5

Nest the iterated part in a sub-model. See the "Advanced Use of Model Iterators" section under Integrating a model within a model in the help.

Related question: Exporting data from Collect Values output in ArcGIS ModelBuilder?

  • Thanks for useful hint Blah. I've even tried nesting models, but nested wrong part. – Marcin Sep 20 '12 at 10:54
0

Here is a video on nesting models. I encountered the same situation recently. The video goes into the problem of iterating the entire model; then breaks it down step by step to fix it with submodels.

This is not my video, but it is very informative: https://www.youtube.com/watch?v=gpKXve4NxqU

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.