Data dam to count days

Hi,

I am trying to create a grasshopper script which will count days in the viewport based on using data dam with a Boolean input to start counting 1,2,3 etc. The problem is it does not cull the previous number. Any help would be much appreciated.

Days.gh (14.7 KB)

Thanks
Jack

Not sure why but connecting a panel to the first node seems to fix it (unless I misunderstood the issue).

I think you have misunderstood. I want the panel/screen to say day 1 after the first data dam, then day 2 then day 3 and so on.

Jack

Days.gh (17.6 KB)
I have solved it myself. But not very elegant. It would be good to have it with a series component to generate the numbers.

Jack

I’m still not sure why you’re using Data Dams.


I am automating a construction sequence. :wink:

1 Like

I would sort the building so for example all elements for one day are in a branch.

Then create a value list and set it to cycle. This allowed you to switch from one day to the next with one click.

2 Likes