Re: [Paraview] Simple 2D plots

2018-04-30 Thread David Ortley
Also consider using the Delaunay2D filter on the TableToPoints filter instead of messing around with changing the point size. -David Ortley On Mon, Apr 30, 2018 at 4:44 PM, David Ortley wrote: > I think the TableToPoints filter is what you want. There's a checkbox > where

Re: [Paraview] Simple 2D plots

2018-04-30 Thread eric greenwade
Thanks Utkarsh, Just a quick question to validate my understanding. It sounds like you're confirming what I had determined so far, you can't plot simple 2D data, you have to pretend its 3D, i.e. the additional of a z axis where the values are all zero? I had figured that one out, and it works for

Re: [Paraview] [EXT] Re: vtkPointDataToCellData but only for selected PointData

2018-04-30 Thread David E DeMarle
This does what you are looking for: import vtk # copy entire structure across self.GetOutputDataObject(0).ShallowCopy(self.GetInputDataObject(0,0)) # use pass arrays to extract a copy with one array of interest myArrays=vtk.vtkPassArrays()

Re: [Paraview] PROBLEM WITH CUSTOM FILTER

2018-04-30 Thread Mathieu Westphal
Hello Miguel, Programmable source are supported and your example seems to work. Here is exactly how i tested it, with ParaView 5.4.0, 5.4.1 and 5.5, on linux. - Open ParaView - Load State -> ERROR_pv_5_4_0.pvsm - Select the source and the filter in the pipeline browser - Tools->Create Custom

[Paraview] XML PLUGIN RELATIVE PATH

2018-04-30 Thread Miguel Aguirre
Hi all, I am working with Plugins for programmable filters that executes external Python scripts. So far, so good. However, I want to avoid to write the entire path of the Python file on the XML file, as you can see highlighted in bold on the XML code down below. Both, the XML and the Python