"%Ammonia%" I think this is correct.
import arcpy string = arcpy.GetParameterAsText(0) if string == "Ammonia": <code> if string == "pH": <code> if string == "VSS": <code> if string == "COD": <code>
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?
Ingelogde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Maak gratis een account aan.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.