Hi, thank you very much for your reply. I'm sorry to reply so late, I was in my
Holiday last week.
In deed, I use your advice and I succeeded in writing those .py file. However,
there is a problem:
My SimleImageThreshold.py
from paraview.simple import *
import os
import threading
def
Hi Alex,
First of all, you should be able to remove those lines, they are not
needed in your case.
import os
import threading
LoadPlugin('.../vtkSimpleImageThreshold/bin/libSimpleImageThresholdSMPlugin.so',True)
# server
Then my question will be: Did you managed inside the Python shell of
Hi,
Using 4.7.1 I get the following compile error when compiling the 3.14.1
tag, it looks like the pointer type is unknown, possibly missing header?
[ 21%] Building CXX object
VTK/Rendering/CMakeFiles/vtkRendering.dir/vtkFreeTypeUtilities.cxx.o
Thank you Seb,
For your first question : Yes, I succeeded in using my SimpleImageThreshold in
Python Shell.
Here is my script in Python Shell:
reader = OpenDataFile('/path/to/my/file.mhd');
GetDisplayProperties();
ColorAttributeType ='POINT_DATA';
Hi Alex,
sorry to say that but you did not properly read what I wrote...
I've ask you if the following line worked in ParaView python:
severmanager.ActiveConnection.Modules.filters.SimpleImageThreshold()
Anyway, to solve the issue related to the number of arguments, you
should be able to do
Found a fix, posting here for others:
http://anonscm.debian.org/gitweb/?p=collab-maint/vtk.git;a=commitdiff;h=428e763c995bb303805e07da70c1a34fc103d208
Andy
On 18 June 2012 15:00, Andrew Parker andy.john.par...@googlemail.comwrote:
Hi,
Using 4.7.1 I get the following compile error when
Seb,
I'm sorry, I don't really good in English so .
Well, about your question:
severmanager.ActiveConnection.Modules.filters.SimpleImageThreshold() is
recognized in Python Shell.
So, what do we have to write in SimpleImageThreshod.py?
def SimpleImageThreshold(proxy)
Hi Paraview Developers,
I am having issues accessing Paraview. Everytime I open it, it crash and posts
the following message. I have also enclosed in txt format for your review. How
should I fix the bug (the problem).
Thanks,
Senay
The Error message is
X Error: BadRequest (invalid request
I bet you are running in an xterm after ssh'ing to another machine on Linux.
Try the following: xclock. If it doesn't work, that is the problem.
Solution? Try ssh -X into the second computer, then try xclock.
alan
-Original Message-
From: paraview-boun...@paraview.org