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
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.