Counting points in an area

I’m trying to divide a point cloud by a grid so I can count the number of points in each cell.

Any ideas on how to go about this would be appreciated.

Thanks :slight_smile:

Points in area.gh (333.0 KB)

You can simply test which box includes which points.

It’s pretty straightforward.

Points in area-rev.gh (337.6 KB)


(not required)


Points in area_2025Apr26a.gh (345.1 KB)

Here is a different method using Project Point instead of Extrude.


Points in area_2025Apr26b.gh (343.6 KB)

1 Like