How can i create an ArcMap model in ModelBuilder to iterate through a folder and applying contouring tool on all tif DEM files on that folder.

1 Answer 1


The best way to accomplish that task would be to use an iterator. When ModelBuilder is open, select Insert - Iterator - Rasters.

enter image description here

You can then select the file in which the DEMs are stored, and connect to the Contour tool. enter image description here

Here is also a handy link about using iterators

  • I do use iterator but when i try to run it, it gives me error that can not open feature class that is output genearted... Commented Nov 28, 2015 at 17:46
  • Can you post a picture of your model and the error?
    – Adam Thom
    Commented Nov 30, 2015 at 18:30

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.