Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import arcpy
  2. featureclass = r"test_mp"
  3. shapeName = arcpy.Describe(featureclass).shapeFieldName
  4. cursor = arcpy.SearchCursor(featureclass)
  5.  
  6. for row in cursor:
  7. shape = row.getValue(shapeName)
  8. print shape.partCount
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement