I'm trying to write a python programmable source in Paraview that will create a vtkMultiBlockDataSet
. I see that my python script in the programmable source gets a symbol called output
which is of type vtk.numpy_interface.dataset_adapter.CompositeDataSet
. How do I use that object to set the blocks? The only methods I see are to set things like points and cells.
My code creates a vtk.vtkMultiBlockDataSet
. Can I somehow just set output
to be this thing that I make? Or do I need to copy? Thanks for any advice! -- Adam