@Cape_Olive,

below is a (hopefully comprehensible) python example. Usually you create the sum of all point coordinates, then divide it by the number of all points to get one average point:

```
import rhinoscriptsyntax as rs
def FindCentroidOfPoints():
ids = rs.GetObjects("Select points", rs.filter.point, True, True, False)
if not ids: return
# first point
pt_sum = rs.PointCoordinates(ids[0])
# sum rest of points
for i in xrange(1, len(ids)):
pt_sum += rs.PointCoordinates(ids[i])
# divide with amount of points to get average
pt_sum = pt_sum / len(ids)
rs.AddTextDot("A", pt_sum)
if __name__=="__main__":
FindCentroidOfPoints()
```

## There are various more cryptic ways to do it, but above works ok for a first start.

c.