Select to view content in your preferred language

Calculate Field after Iterate Feature Selection in model builder is not working for False precondition

107
0
3 weeks ago
Labels (3)
AbuBadruddin1
New Contributor II

In the following model, Iterate Feature Selection, is iterating over the Stream data layer. There are two types pf stream ( Spawning = Yes & Spawning = No; indicating stream used for Salmon spawning or not). My goal is to add 100 or 500 under the Distance field in the attribute table for streams having Spawning = Yes or No respectively. If Field Value in the model is checking whether field Spawning = Yes with True of False output as shown on the model.

If Yes (True), set as a Precondition, the 1st Calculate Field in the model, should populate the Distance field with 500 in the attribute table. If false, the 2nd Calculate Field should kick in & populate Distance field with 100. 

For some reason, all records for Distance field in the attribute table is being populated only with 500! That means, the tool, 2nd Calculate Field, after the False precondition is not working!

Help!!

AbuBadruddin1_1-1720986906120.png

 

 

0 Kudos
0 Replies