Check out the example on this page called "Setting a Boolean Variable as a Precondition".
if gp.getparameterastext(0) = "": #I'm using 9.x syntax #Do whatever is necesssary if the parameter is absent else: #Do whatever is necessary if the parameter is present
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.