Select to view content in your preferred language

Problem - iteration with input Series of Values / coming from script multiple outputs

1305
0
07-21-2010 03:34 AM
EmmanuelBlondel
Emerging Contributor
Hi,

I am actually creating a model in the model builder, I have already created some scripts in order to automate my model. I am actually working on the iterative part. I have created a script which, for a given shapefile (input.shp to be clear), according to one of its field, is performing a SELECT tool, and thus providing multiple outputs named input_value.shp where value is varying from 0 to the maximum number of values of the field. So my result is a set of shapefiles named input_0.shp, input_1.shp etc...

My problem is that in a another part of the model I need to use these differents "input_value" shapefiles as series of value to perform an intersect with another input (input2), and then to get differents "intersect_value"shapefiles. "I don't know how to recuperate these differents shapefiles created shapefiles into a "series of values" input features for the intersect. Do you have any idea about how could I perform that?..

I add a precision: I can't integrate the intersect tool into the script, because after the intersect there are a lot of tools, merge branch tools,etc. If somebody have an idea about how resolving this issue, it would be very helpful for me. Thanks in advance

Emmanuel
0 Kudos
0 Replies