[Paraview] [EXT] Re: Annotate animation with expression of Field Data
Dennis Conklin
dennis_conklin at goodyear.com
Tue Jan 5 14:56:38 EST 2016
Cory,
Thanks for that tip. We are using it as I write.
Dennis
From: Cory Quammen [mailto:cory.quammen at kitware.com]
Sent: Tuesday, January 05, 2016 2:32 PM
To: Dennis Conklin <dennis_conklin at goodyear.com>
Cc: Paraview (paraview at paraview.org) <paraview at paraview.org>
Subject: [EXT] Re: [Paraview] Annotate animation with expression of Field Data
Dennis,
In the Python Annotation filter expression, you should be able to use 't_index' as an index into the field data array to access the value at that timestep, e.g.,
"Total vertical force: %f" % myForceData[t_index]
HTH,
Cory
On Tue, Jan 5, 2016 at 1:26 PM, Dennis Conklin <dennis_conklin at goodyear.com<mailto:dennis_conklin at goodyear.com>> wrote:
All,
I have a user who needs to display an animation with the total vertical force at each timepoint. The total vertical force can be calculated by an expression involving 4 Field Data quantites (reactions at 4 points). We have been able to use the expression in PythonAnnotate to calculate the correct quantity but it displays the array of values for all time points. Is there any way to have this display just the quantity for each specific timepoint similar to AnnotateTime? Or is there a way to use an expression using Field Data within AnnotateTime?
Thanks
Dennis
_______________________________________________
Powered by www.kitware.com<http://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
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview
--
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160105/1f998d72/attachment.html>
More information about the ParaView
mailing list