[Paraview] pvbatch and readers with multiple outputs
Insley, Joseph A.
insley at anl.gov
Mon Feb 10 16:37:03 EST 2014
Hi,
I have a custom reader plugin which has multiple outputs. From the GUI I can load up a data file, and can see the two outputs in the pipeline viewer. I can hide or show them independently, choose different representations, apply different filters, etc. I've saved a python state file, and would now like to run this in pvbatch. In my current state file only output 0 is visible. When I run pvbatch this output is not being rendered. I can call GetNumberOfOutputPorts() on the reader to discover how many ports it has (it correctly returns 2). I would now like to call SetActiveSource to explicitly set to one of the outputs. I can't seem to find the correct way to do this. Does anyone have any suggestions?
Thanks,
joe
More information about the ParaView
mailing list