[Paraview] Generate Programmable Sources with Timesteps
Aurélien Marsan
aur.marsan at gmail.com
Wed May 28 16:50:21 EDT 2014
Hi all,
Just one trick for those who could be disappointed, as me, to not see the
*RequestInformation* tab in the *Programmable Filter* or *Programmable
Source*, which is necessary to handle time : see
http://www.paraview.org/Wiki/Here_are_some_more_examples_of_simple_ParaView_3_python_filters.#Producing_Data_with_Timesteps_.28Source.29
You have to check the little gear under the question mark, right to the
Delete Button of the Programmable Source or Filter, since Request
information is now considered as an advanced property.
Hope that this is clear enough and will save 10 minutes to others :)
Best regards,
A. Marsan
2014-02-06 11:26 GMT-05:00 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>:
> > Maybe the last variable 'req_timesteps[0]' is wrong, isn't it?
> > My code is working with 'req_time'.
>
> That's correct. I fixed it the Wiki.
>
> > Then I have one question.
> > What does the function SetOutputTimesteps() of RequestInformation means?
> > I tested to remove the block, but the source still works as before.
>
>
> SetOutputTimesteps tells the pipeline what timesteps this source
> produces. VTK will not call RequestData() on a filter when time value
> requested changes unless the filter said it was time-dependent.
>
> Utkarsh
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140528/305511c3/attachment-0001.html>
More information about the ParaView
mailing list