AnsweredAssumed Answered

Model Builder: Merge feature classes coming from a submodel as fc_%n% into one table

Question asked by phzach on Feb 8, 2017

Hello,

I'm trying to merge feature classes, that come from a submodel ("PFA_findBiggest") via inline variable substitution. They are saved in a GDB.

They all have different fields. I want to merge them into one big table according to a fishnet_FID, that they all carry.

Here you can see, I tried the merge function in order to merge them into a feature class, but this didn't work. It only ever 'merged' the first %n%, which of course is 0, and nothing else. So the output of Merge is identical to the first layer processed.

I guess it's because Merge doesn't know that more is coming. That's why I have put the Collect Values in between. It is set to:

 

Why is this not working?

Outcomes