POST
|
A way to get what you want in ModelBuilder is to calculate a float value from your index using the Calculate Value tool. [ATTACH=CONFIG]22467[/ATTACH] Another approach could be to try Iterate Multi-value instead of For. Calculate Value has a parameter called Data Type that can cast the output into the data type your tool requires. Often you can just enter %element name% in your tool dialog within ModelBuilder as well. A similar approach would work with your other parameter. The way to nest loops in model buider to put one model inside another: Integrating a model within a model Hi Curtis, thanks, it's working well! Greetings, Thomas
... View more
03-13-2013
04:40 AM
|
0
|
0
|
660
|
POST
|
Set up your FOR loop to go from 0 to 10. Add a Calculate Value tool. Set Data type of Calculate Value tool to Double Set Expression as float(%value%)/10 Aaron, thank you, its working. - Greetings, Thomas
... View more
03-13-2013
04:38 AM
|
0
|
0
|
172
|
POST
|
Darren thanks for Your reply, multiplying could be a possible solution. As I havent't wrote in my first post: "Unfortunately", I want to iterate over the roughness-penalty parameter in the topo-to-raster interpolation tool which only can be set -reasonable- to decimal numbers between 0 to 0.5 (recommended). And another problem: Instead of the "roughness-penalty " I also tried to iterate over the "maximum iteration number" field in the topo-to-raster parameter settings, but it seems to be not possible to connect this with a "for"-loop. What I want to do is to find best parameter settings with topo-to-raster for my source data, compared to a reference data set. Allover, there are five parameters I want to prove. Actually 168 possible parameter combinations are set by implementing "multiple-value" variables, considering 3 parameters (disket. error fdactor, vertical standard error, profile curvature). It would be useful and time-gaining to iterate this with a fourth parameter: roughness penalty or maximum iteration number. But it seems not possible... Greetings, Thomas
... View more
03-08-2013
08:57 AM
|
0
|
0
|
660
|
POST
|
Hi, I have made a workflow in Model Builder (with topo-to-raster interpolation) and i want to iterate this with a "for"-loop beween the values 0 to 1 within 0.1 steps (=11 loops overall). But it is not possible for me to set the incremet (By Value) to 0.1 or any other decimal number. Do anybody have a wokaround solution for this problem? Many thanks and greetings, Thomas
... View more
03-08-2013
04:29 AM
|
0
|
4
|
1615
|
POST
|
Hi, i've build a workflow in Model Builder and want to iterate this with via "for"-loop between values from 0 to 1 within 0.1 steps (=11 loops overall). But it is not possible for me to set "By Value" to 0.1 or any other decimal number. Do you have any idea for a workaround? Thanks and greetings, Thomas
... View more
03-08-2013
04:17 AM
|
0
|
2
|
948
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|