[Paraview] help with pvpython commands

Anton Shterenlikht mexas at bristol.ac.uk
Fri Mar 15 11:38:35 EDT 2013


	From utkarsh.ayachit at kitware.com 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 <mexas at bristol.ac.uk> wrote:

	>    From utkarsh.ayachit at kitware.com 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



More information about the ParaView mailing list