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)
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.