result = gp.GetCount_management("roads") count = int(result.GetOutput(0))
count = arcpy.GetCount_management(fc) if count > 0: #export
"SHAPE.AREA IS NOT NULL"
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.