[Paraview] simple vs servermanager python module
Sebastien Jourdain
sebastien.jourdain at kitware.com
Mon Mar 18 13:17:12 EDT 2013
The simple module provide an easier API compare to the servermanager one.
But simple use servermanager internaly in order to expose "simple" usage.
By default you should use simple and eventually use the servermanager one
when or if needed.
Seb
On Fri, Mar 15, 2013 at 11:31 AM, Anton Shterenlikht <mexas at bristol.ac.uk>wrote:
> In my paraview book (2007) python scripting chapter
> always refers to servermanager module.
>
> In this (presumably much more recent) python tutorial:
> http://www.paraview.org/Wiki/ParaView/Python_Scripting
> the reference is always to module "simple", however,
> lines like this are confusing:
>
> *quote*
> When using a Mac to use the build tree in IDLE, start by loading the
> servermanager module:
>
> >>> from paraview.simple import *
>
> Note: Importing the paraview module directly is deprecated, although still
> possible for backwards compatibility. This document refers to the simple
> module alone.
> *end*
>
> So which is it, servermanager or simple?
>
> I'm still on paraview 3.10 and 3.12.
>
> Thanks
>
> Anton
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130318/657c0ebb/attachment.htm>
More information about the ParaView
mailing list