I’m trying to turn on and turn off a Revit Link with a Dynamo Script. I’m using 2 packages: GeniusLoci and Rhythm, the script function perfectly, but I have to change manually the Boolean node to True and False, There’s some way to change it each time that I run the script?
I was thinking in a For loop with Python, but I’ve never working with it.
You could create a .csv-file in which you save the last run state, .i.e. “False”.
Then from this .csv-file you could import the text together with a NOT node to reverse the input.
You can check to see if an element is already hidden in a view. Just use the opposite of that state when you run the graph. That way if the element is hidden, show it. If the element is visible, hide it.