Data record and replace data in Gh

Hi, I am after a component with the following behaviour.

First iteration >>>> store data in a location
Second iteration >>>> delete previous data and replace it with new data.
Is there any component like that in GH. Data recorder is not an option for me.
I need to keep the last data in a place for ever.


What you are describing is a recursive loop. You will need a plugin for looping. Try Anemone.

Hi Michael- Thanks.

If you’re referring to writing/over-writing data to file, you could use the Pack and Unpack Data components from TreeSloth or the standard Python pickle module in GHPython to serialise the data. Might be more options out there.

Edit: if I recall correctly, there is an OOTB solution in Rhino 6.