Button in Dynamo?

In grasshopper theres a button that outputs True when pressed for a split second then goes back to False, is there anything like it in dynamo? What I want to use it is to use python inside dynamo to read a file, every time i press the button it updates (re-reads the file)

You can use a Boolean node to cause a trigger by feeding it into an if node which has the same data for the True and False inputs. Any time you want it to update just toggle the boolean value.

For reading files some nodes (I believe read CSV is one) will automatically update if the source file is marked dirty (different from when it was last read).

1 Like