Counting sequence along floors

Hello everyone,

Is it possible to number elements according to levels? So it goes till X in the 1° floor, and starts at x+1 in the next floor and so on…

It seems that I always get the counting almost randomly, although sorting the points… And if I change directions of the sorting, even after updating the elements, the tags don’t change (don’t know why).

I need a little help on this.

Maybe for future updates this counting situations could be further developed, since counting is a must for organization and projects.

Is a pitty that I need to be fluent in grasshopper (that is not that simple) instead of focusing on design in order to do something BIM should give me quite automatically.

Btw, nice addition of the hability to filter elements in tables.

Thanks in advance.

Tag Altura e comodo VA.gh (20.4 KB)

Hi @Leonardo_G_Pate Check this GH definition.
Tag Altura e comodo VA 2.gh (21.5 KB)

If you create 2 more levels in your model, you can split the list of elements into different groups, so you first sort them by Level, and then assign the tag values respecting that order.

1 Like

Nice, thanks!I need to get more familiarized with VA gh components and synthax, would never thought on this resolution.

Still one thing that I don’t know what is happening, that when I change the sort list direction it seems to change as you can see with the point list component, but when I hit the update property, the tag still not following the direction change.


Hi @Leonardo_G_Pate whenever you do a change on the GH file, just do right-click to recompute the definition, and then click on the Update Property button so reassign the new calculated values to the Elements.