[Paraview] How to test if Python is working

pat marion pat.marion at kitware.com
Wed Sep 17 14:40:27 EDT 2008


Hi Mike,

After you open the python shell, try these commands:

help(servermanager)
help(servermanager.ProxyManager)

To test a specific proxy, try something like:

proxy = servermanager.ProxyManager().NewProxy("sources",
"SphereSource") #groupname, proxyname
dir(proxy)
print proxy

If you decide you want to get down and dirty, all the magic happens in
ParaView3/Utilities/VTKPythonWrapping/paraview/servermanager.py

Pat

On Wed, Sep 17, 2008 at 1:57 PM, Mike Jackson
<mike.jackson at bluequartz.net> wrote:
> I am hacking on ParaView and I am at the point where I need to give the
> Python functionality a go. Is there some simple python command I can type
> into the Python shell that would tell me if Python is finding the paraview
> python stuff?
>
> I am a complete newbie to Python. I get at least the Python shell come up so
> I am at least that far.
>
> Thanks
>  _________________________________________________
> | Mike Jackson - Principal Software Engineer      |
> | BlueQuartz Software                             |
> | mike.jackson at bluequartz.net                     |
> | www.bluequartz.net                              |
> ---------------------------------------------------
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list