Re: [Paraview] ExtractSubset not working well in pvpython

2014-11-03 Thread Chukwudi Chukwudozie
So you understand what I'm doing, below is the full script. I added those lines and now its giving one above the number of points. I have 800 points but it pints out 801 import numpy as np import pylab as pl try: paraview.simple except: from paraview.simple import * paraview.simple._DisableFirstR

Re: [Paraview] ExtractSubset not working well in pvpython

2014-11-03 Thread Utkarsh Ayachit
Hi, I wonder if the problem is with Fetch(). What does the following yeild? ExtractSubset0.UpdatePipeline() print ExtractSubset0.GetDataInformation().GetNumberOfPoints() Utkarsh On Thu, Oct 30, 2014 at 5:29 PM, Chukwudi Chukwudozie wrote: > Hi, > > I have a structured grid computational domain

[Paraview] ExtractSubset not working well in pvpython

2014-10-30 Thread Chukwudi Chukwudozie
Hi, I have a structured grid computational domain of size 800,2,800. I want to extract the information along a line and so I do the following in my python script. ExtractSubset0 = ExtractSubset(guiName="ExtractSubset0",IncludeBoundary=0,VOI=[399, 399, 0, 0, 0, 799], SampleRateK=1, SampleRateJ=1,