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