Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import arcpy
- featureclass = r"test_mp"
- shapeName = arcpy.Describe(featureclass).shapeFieldName
- cursor = arcpy.SearchCursor(featureclass)
- for row in cursor:
- shape = row.getValue(shapeName)
- print shape.partCount
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement