[Paraview] EnSightReader: Change input file

Ian Krukow i.krukow at tu-braunschweig.de
Tue Nov 11 08:39:28 EST 2014


Hi all,

I want to apply the same pipeline to a series of Ensight data files in 
order to save extractions in a different format. For the first file, 
this works fine. For the second file, I thought I could change the input 
file by changing the CaseFileName attribute:

reader.CaseFileName = nextfile

But when I run

reader.UpdatePipeline()

I get a segmentation fault. This depends neither on the file, nor on the 
pipeline following.

I tried a workaround by building up a new pipeline for each file. It 
works, and as I have only two files by now, it is ok to do that, but for 
more files, memory usage would explode. Therefore, my question is: Is it 
possible only to change the input file of the EnSightReader, while 
keeping the pipeline?

Kind regards
Ian


More information about the ParaView mailing list