Dynamo reset between runs

I have a graph that requires the user to select elements. Those elements are remembered by dynamo until a user uses the change option. If they don’t change them the graph will run on the previously selected elements. Is there a way to zero them out or reset them to nothing after each run?

Thanks.

Save the graph with an empty selection and don’t save it on each run. Easiest to manage via dynamo player.

1 Like

I am in a similar situation and found this post. I created a graph will insert a series of generic family to the model. When I changed the parameters and rerun the graph, the generic family already inserted would stay sometimes but not all the times. The get around I have been using so far is changing the insert rotation angle to something other than zero and rerun the same graph using zero. Is there a node I can add to the graph to delete all instances created before inserting the new ones?