I have two polylines (say two paths/roads/etc. for example) that I want to iterate against another set of iterated polylines (ie. geologic fault lines).

I want the first iterator to take Path #1 and iterate against each "Fault Line" (the 2nd iterator). Then iterate Path #2 against the "Fault Line" polylines. How do I do this? I tried but cannot get it to work.

  • Welcome to GIS SE, can you go into more depth what you tried (steps, screen shots...etc)?
    – artwork21
    Commented Feb 27, 2015 at 18:14
  • 3
    You need to read up on help or search forums about embedding models within models. A model can only have one iterator.
    – Hornbydd
    Commented Feb 27, 2015 at 18:18
  • 1
    Another option to consider that will give you more control would be to use a python/arcpy cursor (resources.arcgis.com/en/help/main/10.2/index.html#//…).
    – artwork21
    Commented Feb 27, 2015 at 18:31
  • i know they can only have one iterator however if you have it as a "tool" and you add that tool it should work...correct? Commented Feb 27, 2015 at 20:49
  • artwork21...I had created two independent paths and created an iterator for those named "path iterator". then i imported some gis data (fault lines) for different states and created a new tool to iterate through those. i then brought in the "path iterator" hoping to combine them so it would show the intersect of Path A and all the fault lines by state, then iterate through Path B and all the fault lines by state. Commented Feb 27, 2015 at 21:26

2 Answers 2


Create the second iterator in a separate model in ModelBuilder. Once you've got that working you can insert it as a submodel into Iterator 1. ModelBuilder won't ordinarily let you nest iterators, but it will let you include a submodel. If that submodel has an iterator in it you can get around the "1 iterator only" limit.

  • thanks! that's what i thought. apparently the submodel isn't working correctly then. Commented Mar 20, 2015 at 14:15

It isn't possible to use more than one iterator in a ModelBuilder model. (Ref. A quick tour of using iterators for iteration, the first "Note" towards the end.)

There are some ideas for getting around this limitation in Answers to this Question: Nesting two iterators for cost distance calculation in ModelBuilder?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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