@Andreas_Dieckmann thanks for this! This exactly the functionality I was looking for. If you don't mind could you explain why you must use a Scopeif statement? I tried "If" and it didn't work but scopeif seems to. That being said I can't find much documentation on the difference between the two.
@erfajo No, freezing is not what I'm looking for as this graph is intended to run from Dynamo player, as such it has a popup window asking the user if they want to write the data to a file. So I need to trigger whether or not that section of the graph runs based on a boolean, not manual freezing.