python script output results: how to get a list of the *only* calculated steps? (instead iterating all...)

Hello,

I need to extract results from each step stored.

I didn't find a way to retrieve results different from this:

iterate=g_o.Steps[:]
#if step0=='' and step1=='': iterate=g_o.Steps[:]
#if step0=='' and step1!='': iterate=g_o.Steps[:int(step1)]
#if step1!='' and step1=='': iterate=g_o.Steps[int(step0):]
#if step1!='' and step1!='': iterate=g_o.Steps[int(step0):int(step1)]
for step in iterate:
    if step.Reached.Mstage>0
.....my code

This is very high time consuming since seems Plaxis try to load or find each step even if not saved.

Is there a way to create a list of the *ONLY* saved steps?

Thanks in advance,

Filippo

Parents Reply Children
No Data