Re: [Paraview] Value Error: ColorArrayName - ParaView 3.98

2013-02-25 Thread ck156626
Hi Andy, thanks for your support. The function self.newSlice.GetDataInformation().GetNumberOfPoints() returns zero points then the functions fails. But it is kind of wired because I use always the same origin and normal vector and sometimes it is successful. Ok, now I know the problem and I try to

Re: [Paraview] python enabling PV configuration

2013-02-25 Thread Sebastien Jourdain
I think PV 3.98.x requires python 2.7. On Sun, Feb 24, 2013 at 10:42 PM, Chris Bording wrote: > Hi, > I have been able to build and compile a working version of > Paraview-3.14.1 and ParaView-3.98.1 using > gcc 4.4.6 and openmpi-1.6.3 but I am unable to get python configure with > it correctl

Re: [Paraview] Scope of effort

2013-02-25 Thread David E DeMarle
A question about how to use vtk's selection infrastructure (or about building and testing vtk) is best sent to the vtk mailing list. A question about how to use the interface to selection (the buttons in the "Selection Controls" toolbar) within the paraview GUI should go to to the paraview mailing

[Paraview] Import error with programmable filter

2013-02-25 Thread Colin McAuliffe
Hello all, I am trying to use the programmable filter in a python script, but it is not able to find the paraview module. the code: ProgrammableFilter1 = ProgrammableFilter() ProgrammableFilter1.Script = 'print "something"' Show() gives the error: Traceback (most recent call last): Fi

Re: [Paraview] Import error with programmable filter

2013-02-25 Thread Pat Marion
I forgot to cc the mailing list. On Tue, Feb 26, 2013 at 8:42 AM, Pat Marion wrote: > The programmable filter will run in the same process, using the same > python, as the main script. But, it's possible something is not working > right with the paths. I would put a print statement in both the

Re: [Paraview] [EXTERNAL] Re: Custom Windows build

2013-02-25 Thread Scott, W Alan
Utkarsh, Applications/ParaView/CMakeLists.txt no longer holds the INSTALL reference below. Is there somewhere, either in the code (for the superbuild) or the wiki, that shows how to create a Windows .exe install, with these directions telling me 1) what to edit in a CMake file to add additional

Re: [Paraview] Import error with programmable filter

2013-02-25 Thread Colin McAuliffe
I can get the path for the main script but not for the programmable filter because of the import error. There is /Applications/ParaView.app/Contents/Python /Applications/ParaView.app/Contents/Libraries /Applications/ParaView.app/Contents/bin in the path for the main script. Is there anything

Re: [Paraview] Import error with programmable filter

2013-02-25 Thread Pat Marion
Could you try running this test script with pvpython like this: $ cat test.py from paraview.simple import * f = ProgrammableSource() f.Script = 'print "something"' f.UpdatePipeline() $ /Applications/paraview.app/Contents/bin/pvpython test.py something Does that work? Pat On Tue, Feb 26, 2013

Re: [Paraview] Import error with programmable filter

2013-02-25 Thread Colin McAuliffe
This works, the difference is if I run /Applications/paraview.app/Contents/bin/pvpython test.py it works but pvpython test.py gives the import error and the same is true of my other script. I guess there is something wrong with my pvpython environmental variable. Thanks for the help! Colin