Euclidean Distance Model Loop Issue

Discussion created by mglassman91 on Apr 19, 2012
Latest reply on May 15, 2012 by sebastian_4m
I am attempting to create a model that will take two inputs (a polygon shapefile and a point shapefile) and create Euclidean distance rasters for all the points and masked by each of the polygons. The points and the polygons can be related with a "SampleID" field. I have no problem creating a model that will work for "SampleID" =1 but I cannot get the model to loop back to the beginning and do the same for "SampleID" =2,3,4....etc.
I have over 2000 "SampleID"s so to do each distance manually would take a large amount of time.
I am using ArcGIS 10.
Can anyone help?