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
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.