<p dir="ltr">The pipeline is lazily evaluated and won't produce anything until you tell it to flow. In the GUI, the "Apply" button typically does this. From python, you can do the same with threshold1.UpdatePipeline(). Call Show() and Render() to update and display the result at the same time like "Apply" does. </p>
<div class="gmail_quote">On Dec 11, 2015 7:50 AM, "no name" <<a href="mailto:keinepostnurmuell@gmail.com">keinepostnurmuell@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br>
<br>
I made a long pipeline to work through some of my files and I don't<br>
understand what I am missing here, when writing the input for the<br>
pipeline to a macro<br>
<br>
from paraview.simple import *<br>
inputfile = FindSource('FILE*')<br>
<br>
# create a new 'Threshold'<br>
threshold1 = Threshold(Input=inputfile)<br>
threshold1.Scalars = ['POINTS', 'dataZ']<br>
threshold1.ThresholdRange = [-0.98, 0.98]<br>
<br>
This produces an empty object in the pipe (Information window, Number<br>
of Cells: 0 and so on ...) under Paraview 4.4 on Win10 (x64). I can<br>
then just click on the little eye icon to get values under<br>
Information. I would not mind clicking that icon, but I need more<br>
filters in my pipeline and they alle are empty after this one (or<br>
maybe at all, the threshold is my first filter in a row of 25).<br>
<br>
Thanks<br>
Richard<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote></div>