From [email protected] Fri Mar 15 15:36:54 2013

        Try what I suggested after a "from paraview.simple import *"

yes, that works.

So what's the difference between simple and servermanager modules?

Thanks

Anton


        On Mar 15, 2013, at 2:51 PM, Anton Shterenlikht <[email protected]> 
wrote:

        >    From [email protected] Fri Mar 15 11:58:39 2013
        > 
        >    Try:
        > 
        >    > a = ImageReader()
        >    > help(a)
        > 
        > I get:
        > 
        >>>> from paraview.servermanager import *
        > paraview version 3.10.1, Date: 2011-01-28
        >>>> a=ImageReader()
        > Traceback (most recent call last):
        >  File "<stdin>", line 1, in <module>
        > NameError: name 'ImageReader' is not defined
        > 
        >    FYI, I'm hoping to setup a Python docs webpage soon that will 
document
        >    all of ParaView's Python module API similar to Python's module
        >    documentation.
        > 
        >    Utkarsh
        > 
        > Thanks, that would be most welcome.
        > 
        > 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

Reply via email to