0

I have two different ModelBuilder models:

  1. Create a new field and split a layer
  2. Merge all layers in one folder

I want to append both models in one but it does not work.

The Model have a loop and I do not know why and how to solve it.

Could you help me?

Model Builder screen capture

1

The loop is being caused by your iterator.

You need to create a sub model.

Model 1 will be everything up to & including your Split tool.

Model 2 will start at your Feature Iterator.

  • 2
    I would create model 1 as a sub-model. Then you have sub models 1 and 2 as you described sitting in the master model; model 1 connecting to model 2 and the output of model 2 feeding into the merge tool. – Hornbydd May 17 '18 at 11:53
  • Thank you so much for your answer. That's true that the iterator must be at first of everything. I will try that you said :) – Pin_Eipol May 18 '18 at 12:50

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.