[Paraview] [help ParaviewWeb] Load Plugin

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu May 19 08:40:37 EDT 2011


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 <anh-dung.le at insa-lyon.fr> 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 <utkarsh.ayachit at kitware.com> 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 <anh-dung.le at insa-lyon.fr>
>> 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
>>>
>>
>
>
>
>


More information about the ParaView mailing list