Export data to Excel from each iteration

Good Morning,

I am working on an optimization issue using the Optimo package. I need to get data from each iteration from the whileloop to create a convergance graph. I have already tried with adding last item to a list but it seems that Dynamo stores only last step of calculations. I also tried to creating a list of whole results and export it once.

I have attached picture which shows what i am trying to reach.
I marked the place which shows results of last - fifth iteration.

Any help will be appreciated!

@Voliar

are you able to share your graph ?
Use Dropbox/Google Drive etc if you cannot post on the forum

Andrew

I’m also interested for a solution. No matter if xlxs or csv export the LoopWhile var output only contains the last generation of the nsga loop.