Re: [Paraview] Extracting a block from a vtkMultiBlockDataSet in Paraview (Bug?)

2015-11-25 Thread Evan Kao
Thanks Jean! That did the trick. - Evan On Wed, Nov 25, 2015 at 12:16 AM, Favre Jean wrote: > You are missing a RequestInformation Script to indicate the dimensions of > the grid you wish to create. > > Set the type of the Output Data to "vtkStructuredGrid" > > you will need,

Re: [Paraview] Extracting a block from a vtkMultiBlockDataSet in Paraview (Bug?)

2015-11-25 Thread Evan Kao
Hi all, I had an additional question. I'd like to convert this script into a Custom Filter using the python_filter_generator.py script , but this requires the output type to be set automatically. Is that possible with the Programmable Filter, i.e., is

Re: [Paraview] Extracting a block from a vtkMultiBlockDataSet in Paraview (Bug?)

2015-11-25 Thread Favre Jean
You are missing a RequestInformation Script to indicate the dimensions of the grid you wish to create. Set the type of the Output Data to "vtkStructuredGrid" you will need, at the minimum, the following two sections of python code in the "Script" mbds = inputs[0] block0 = mbds.GetBlock(0)

[Paraview] Extracting a block from a vtkMultiBlockDataSet in Paraview (Bug?)

2015-11-24 Thread Evan Kao
Hi all, Is there a way to extract a block from a vtkMultiBlockDataSet in Paraview without using Extract Block > Merge Blocks (which converts the data in an Unstructured Grid)? For example, I import EnSight data, which is read in as a vtkMultiBlockDataSet with a single vtkStructuredGrid block. A