Using this as the script: import vtkįrom paraview.simple import GetActiveView In general what is the method for using arbitrary vtk filters and writers in a catalyst pipeline? I have looked at the Custom Python Script Pipeline section in the manual but it was not clear to me. RuntimeError: Expecting a proxy as input. Raise RuntimeError ("Expecting a proxy as input.") Writer = XMLImageDataWriter(ss.GetOutputPort())Ĭoprocessor.RegisterWriter(writer, "z_buffer_%t.vti", 1)īut i see this: Traceback (most recent call last):įile "./volume2.py", line 218, in DoCoProcessingįile "//lib/python3.8/site-packages/paraview/coprocessing.py", line 212, in UpdateProducersįile "./volume2.py", line 169, in CreatePipelineįile "./volume2.py", line 34, in _CreatePipelineįile "./volume2.py", line 162, in Pipelineįile "//lib/python3.8/site-packages/paraview/simple.py", line 2243, in CreateObject My pipeline has this in it: ss = vtk.vtkWindowToImageFilter() Instead I decided to just modify the script catalyst generates and put that code in it, but I am having trouble getting it to write any data. I tried a programmable filter in paraview, but that did not seem to work in catalyst. I am trying to use script provide in the link above in a catalyst pipeline. Continuing the discussion from Help! How create a "depth map" using ParaView (Is it possible):
0 Comments
Leave a Reply. |