Pomer
(Jack Pomery)
September 27, 2024, 11:22am
1
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
ftzuk
(Ftzuk)
September 27, 2024, 12:20pm
2
Not sure why but connecting a panel to the first node seems to fix it (unless I misunderstood the issue).
Pomer
(Jack Pomery)
September 27, 2024, 12:45pm
3
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
Pomer
(Jack Pomery)
September 27, 2024, 1:05pm
5
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
ftzuk
(Ftzuk)
September 27, 2024, 1:27pm
6
I’m still not sure why you’re using Data Dams.
Pomer
(Jack Pomery)
September 27, 2024, 1:45pm
8
I am automating a construction sequence.
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