[Paraview] TimestepValues
Justin Rodriguez
jrr45 at cornell.edu
Tue Jul 17 16:47:49 EDT 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120717/2edb2961/attachment.htm>
More information about the ParaView
mailing list