How to evenly distribute over surface

Hello,

There might be a simple way before i create gh script. I want to avoid it.

I need to scatter a block over planar surface evenly with given density over area (count/m2).

I found some scatter plugin but i dont have direct control over density.

Thanks

I think GH is your huckleberry for this.