Counting blocks in GH

Hello all

Im a total noob in GH

Is there any way to count instances of blocks in GH.

Hi Theo,

Tree Statistics will give you a count.

Here i have all the Doors in the project.

Their are 49 Types of Blocks in the file.

I used Query Model Objects to get all blocks and sorted by their name.

Once sorted we get the count and match with the name (my names were ugly and i had to split the text).

Then used format to combine Name : Count


R8-CountBlocks.gh (17.1 KB)