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 _______________________________________________ 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
