Dear ParaViewers,
I came across some weird behaviour in ParaView: We have a custom
BooleanOperation filter that have two outputs (custom ParaView build).
If both outputs are the inputs of an Append Geometry and we update the inputs
of the BooleanOperation Filter, the Append Geometry will be
Not sure what's going on. The attached script worked just fine for me.
On Thu, Mar 30, 2017 at 1:02 PM, John Haase wrote:
> Utkarsh,
>
> Using the script attached, and the same data sets as before. I get the error
>
> Traceback (most recent call last):
>
> File "", line 22, in
>
Utkarsh,
Using the script attached, and the same data sets as before. I get the error
Traceback (most recent call last):
File "", line 22, in
File "", line 5, in RequestData
File "C:\Program Files\ParaView
John,
That's the script for a "Programmable Filter", not simply to be added
to your script, similar to what you're doing with `squareDiff`.
e.g.
myfilter = ProgrammableFilter(Input=integrateSqrVarOverSpace)
myfilter.Script = "" # the script I provided.
myfilter.UpdatePipeline()
...
Exploring 'integrateSqrVarOverSpace', it doesn't have a 'RowData' object.
dir(integrateSqrVarOverSpace)
['CellData', 'FieldData', 'FileNameChanged', 'GetCellDataInformation',
'GetDataInformation', 'GetFieldDataInformation', 'GetPointDataInformation',
'GetProperty', 'GetPropertyValue',
Isn't that simply a sum of all the rows in the output of
integrateSqrVarOverSpace filter?
If so, that can be done by using another *ProgrammableFilter* with the
following *Script*:
from numpy import sum
for inTable, outTable in zip(inputs[0], output):
for aname in inTable.RowData.keys():