What is the purpose of arcpy.Array()?

المشرف العام

Administrator
طاقم الإدارة
I am wondering what the purpose of arcpy.Array() is. It seems an intermediate step between creating a list of objects and performing some sort of conversion, for example, such as in the sample code for the 10.1 help.

features.append( arcpy.Polyline( arcpy.Array([arcpy.Point(*coords) for coords in feature])))What purpose does the arcpy array serve? Why can't a list suffice? What's the logic behind this intermediate step?

Thanks.



أكثر...
 
أعلى