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
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.