Hi Sebastien,

The files were all time dependent data but some had a TimeRange but no
TimestepValues so I simply did:

TimestepValues = meshFine.TimestepValues
if len(TimestepValues) == 0:
      timerange = meshFine.GetProperty('TimeRange')
      steps = 100
      TimestepValues = [timerange[1]*i/steps + timerange[0] for i in
range(steps)]

which works well enough.  Hopefully this will help anyone else that runs
into the same issue.

Thank you again,
Justin
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to