result = arcpy.GetCount_management(ParcelInfo) arcpy.AddMessage(" " + result.getOutput(0) + " Anno selected." ) getSTAnnoSel = result.getOutput(0) if getSTAnnoSel >= 1: arcpy.AddMessage(" Anno has been calculated to street anno symbology") #Have it do something elif getSTAnnoSel == 0: arcpy.AddMessage(" Anno is NOT calculated.") #Have it do something else
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.