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
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.