Store initial value single session


Is there a way to store an initial value that will persist until the .dyn script is closed? For example, I want to store the initial offset value of an element and the no matter how many times the script change the offset of the element (how many times the dynamo script is executed), there is a way to bring back the element offset to its initial value.


Export the value to a XML or Excel file :-).

Hi, that is what we’ve been doing. Its a temporary solution for us but sometimes its behavior doesn’t suit our needs. Thank you for the suggestion.