Thanks for the responses. Can anyone provide an example of just testing whether a parameter exists?
# test if the third parameter was set if arcpy.GetParameterAsText(2) == "": do this else: do that
# test if the third parameter was checked # Booleans come across as the string "true" or "false" if arcpy.GetParameterAsText(2) == "true": do this else: do that
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.