[Paraview] A general quesiton
Jean M. Favre
jfavre at cscs.ch
Wed Apr 8 02:51:41 EDT 2009
Battalgazi YILDIRIM wrote:
> Hi,
>
> I have just begun with python scripting in Paraview. I agree that I should
> use servermanager to communicate to Paraview Engine.
>
> But problem is (at least for me) how will I add my own source (or reader)
> in servermanager.source. is there any place or book I can look how I can
> create new reader ( servermanager.sources.MyReader())?
Consult the following link to learn how to make a plugin reader. Once
compiled -- assuming you already have PYTHON enabled in your paraview
build -- your own reader will automatically be active as
servermanager.sources.MyReader
http://paraview.org/Wiki/Plugin_HowTo
Running pvpython for example, you may type the command
servermanager.LoadPlugin("/path/to/your-plugin/libMyReader*.so") and
your plugin will be loaded.
Jean
Swiss National Supercomputing Centre
More information about the ParaView
mailing list