"%Ammonia%" I think this is correct.
Using your attachment as reference I can see you take a string variable and check to see what the string is using the "Calculate Value" (CV) tool and then set the data type to Boolean. But I am not quite sure what to put in the code block or expression field and string variable a precondition to the "Calculate Value" tool?
import arcpy string = arcpy.GetParameterAsText(0) if string == "Ammonia": <code> if string == "pH": <code> if string == "VSS": <code> if string == "COD": <code>
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.