[Paraview] Customize time values displayed in time annotation

Giordano Lipari giordano_lipari at yahoo.co.uk
Mon Nov 16 11:42:40 EST 2015


Hi all! I use Paraview 4.3.1. I am creating a new animation (with four panels combined) by editing an existing state file (*.pvsm) that I use as template. 

The names of the legacy vtk files that I am loading as frames, are tailed by a progressive file counter (such as *.0001.vtk, *.0002.vtk and so forth). At this stage I am not able/inclined to change this arrangement.

The time annotation shows the 0-based file counter, while I would like to show time values out of a given sequence:

I then thought that editing the property field "TimestepValues" from
      <Property name="TimestepValues" id="4553.TimestepValues" number_of_elements="6">
        <Element index="0" value="0"/>
        <Element index="1" value="1"/>
        <Element index="2" value="2"/>
        <Element index="3" value="3"/>
        <Element index="4" value="4"/>
        <Element index="5" value="5"/>
      </Property>
into
      <Property name="TimestepValues" id="4555.TimestepValues" number_of_elements="6">
        <Element index="0" value="0"/>
        <Element index="1" value="0.6"/>
        <Element index="2" value="1.25"/>
        <Element index="3" value="1.85"/>
        <Element index="4" value="2.5"/>
        <Element index="5" value="3.1"/>
      </Property>
would have worked well. (I repeat this for all occurrences of TimestepValues owing to the four-panel arrangement.) 

However this is not sufficient, since the new settings are ignored and even overwritten when I save the modified state file.

--1--
Is there any other feature in the pvsm file that I should tweak to make this procedure effective? 
--2--
Or is this idea ill-fated from the outset? 
--3--
If 2==true is the case, is there any recommended way so that the time annotation marks a user defined sequence of values?

Thanks for thinking along and helping me out with tips and wisdom.

Giordano 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151116/df96f3cc/attachment.html>


More information about the ParaView mailing list