Noob Alert: For Loop in ModelBuilder

894
1
03-22-2012 07:37 AM
TonyNettleman
New Contributor
Dear ArcGIS Community:

I built a For loop using ModelBuilder to create inundation polygons which works well but I can only long integers (0,1,2,&c.) in the starting, ending and step values of the loop. What I really need is a double so that I can increment in 0.15m. can someone please explain how to change the long integer value in the For loop to a double?

Thanks
Tony
Tags (2)
0 Kudos
1 Reply
TerrySilveus
Occasional Contributor III
Dear ArcGIS Community:

I built a For loop using ModelBuilder to create inundation polygons which works well but I can only long integers (0,1,2,&c.) in the starting, ending and step values of the loop. What I really need is a double so that I can increment in 0.15m. can someone please explain how to change the long integer value in the For loop to a double?

Thanks
Tony


For loops can only do integers, but you may manipulate the data to get what you want by multiplying the loop value by some number or just setting up another counter.  I don't use model builder that often so I'm not sure how you might accomplish this.

each time through the loop multiply .15 * loop counter.
0 Kudos