Not as easy as it sounds since ParaView doesn't really have a notion of key-frame index. But try adding a new "Python" animation track and then using a script something like follows. When you play the animation you'll see the index increasing.
#---------------------------------------- def start_cue(self): global index index = 0 print "start", index def tick(self): global index print "cur", index index = index + 1 def end_cue(self): pass #---------------------------------------- On Wed, Mar 6, 2013 at 10:38 AM, Christian Andreas <christian.andr...@ipcms.unistra.fr> wrote: > Hello, > I try to save an animation of a file series read by my own reader. > Together with each output file I would like to store the actual time given > by the UPDATE_TIME_STEP(). I need this information to link externally > generated plots with the output image and to join the plots with the > paraview animation images. > > Easiest approach would be to access the actual animation keyframe index and > save it together with the actual time while the data is requested from my > reader. > > My problem is that I don't find a way to get the information of the actual > keyframeindex. > Is it accessable by the pqActiveObjects::instance()? > Or is there a much easier way to achieve that? > > Regards > Christian > > -- > IPCMS - Department of Magnetic Objets on the NanoScale (DMONS) > 23, rue du Loess > BP 43 > F-67034 STRASBOURG CEDEX 2 > FRANCE > > Phone : (33) 3 88 10 70 84 > Fax : (33) 3 88 10 72 49 > > _______________________________________________ > 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 _______________________________________________ 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