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
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.