Thank you so much. By using your commands the plugin works!
But how can we use it in PWConsole of ParaviewWeb ? (my goal is using
paraviewWeb, so the use of javascript is important to me :) )
I tried with this but it didt work :(
paraview.LoadPlugin( {filename: '.../libAnalyzeReader.so',
remote:false, ns:globals()});
I think that there's sth wrong with ns:globals().
Have a nice day!
----------------------------------------------------
Anh Dung LE.
INSA de Lyon - Télécommunications, Services & Usages
Utkarsh Ayachit <[email protected]> a écrit :
Here's what I use in pvpython:
from paraview.simple import *
LoadPlugin(".../libAnalyzeReader.so", False, globals())
Analyzereader(FileName="...")
On Thu, May 19, 2011 at 8:22 AM, le Anh Dung
<[email protected]> wrote:
Hi,
in PWConsole: paraview.LoadPlugin( {filename: '[PATH]/plugin.so',
remote:false});
in pvpython: LoadPlugin('[PATH]/plugin.so', True)
Regards :)
----------------------------------------------------
Anh Dung LE.
INSA de Lyon - Télécommunications, Services & Usages
Utkarsh Ayachit <[email protected]> a écrit :
What is the command you are using to load the plugin?
Utkarsh
On Thu, May 19, 2011 at 7:05 AM, le Anh Dung <[email protected]>
wrote:
Hello,
I'm new to ParaviewWeb and need your help :)
Here is my problem: (all paraview versions are 64bits for Linux)
In ParaviewWeb: I want to load the AnalyzeReader and NIfTIReader to read
the
.img and .nii datas.
My ParaviewWeb was compiled base on Paraview 3.11, I tried to load the
plugins in PWConsole and they seem to be loaded (no error) but I can't
open
any data file (.img or .nii). I tried then using pvpython and got the
same
results (no reader found for ....).
After that, I decided to use another version of Paraview to see what
happen:
Paraview 3.10.1: - In pvpython: AnalyzeReader works, NIfTIReader NOT
- In GUI : Both Work
Paraview 3.8.1 : - In pvpython: Both NOT work
- IN GUI : Both Work
I cant figure out what's going wrong here.
Could someone please help me ?
Many thanks!
Have a nice day!
----------------------------------------------------
Anh Dung LE.
INSA de Lyon - Télécommunications, Services & Usages
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview