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.
On Dec 11, 2015 7:50 AM, "no name" <[email protected]> wrote:
> Hello
>
> I made a long pipeline to work through some of my files and I don't
> understand what I am missing here, when writing the input for the
> pipeline to a macro
>
> from paraview.simple import *
> inputfile = FindSource('FILE*')
>
> # create a new 'Threshold'
> threshold1 = Threshold(Input=inputfile)
> threshold1.Scalars = ['POINTS', 'dataZ']
> threshold1.ThresholdRange = [-0.98, 0.98]
>
> This produces an empty object in the pipe (Information window, Number
> of Cells: 0 and so on ...) under Paraview 4.4 on Win10 (x64). I can
> then just click on the little eye icon to get values under
> Information. I would not mind clicking that icon, but I need more
> filters in my pipeline and they alle are empty after this one (or
> maybe at all, the threshold is my first filter in a row of 25).
>
> Thanks
> Richard
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/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
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview