[Paraview] TimestepValues

Stephen Wornom stephen.wornom at inria.fr
Wed Jul 18 04:10:59 EDT 2012


Justin,
Please include the e-mail to which you are answering or else no one 
knows what the question was.
Stephen
Justin Rodriguez wrote:
> 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


-- 
stephen.wornom at inria.fr
2004 route des lucioles - BP93
Sophia Antipolis
06902 CEDEX
		
Tel: 04 92 38 50 54
Fax: 04 97 15 53 51

-------------- next part --------------
A non-text attachment was scrubbed...
Name: stephen_wornom.vcf
Type: text/x-vcard
Size: 160 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120718/2074f3e9/attachment.vcf>


More information about the ParaView mailing list