if int(gp.GetCount_management(featureLayer).getoutput(0)) > 0: do this else: do that
if int(gp.GetCount_management(gp.describe(featureLayer).catalogpath).getoutput(0)) > int(gp.GetCount_management(featureLayer).getoutput(0)): do this else: do that
selectedOidList = [int(oid) for oid in gp.describe(featureLayer).fidset.split(";")]
result = gp.GetCount_management(featureLayer) count = int(result)
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.