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