[Paraview] Python Animation Missing
Kent Eschenberg
eschenbe at psc.edu
Mon Mar 17 17:40:31 EDT 2008
Help! PV 3.2.1 on CentOS:
$ pvpython
Python 2.4.4 (#1, Oct 23 2006, 13:58:00)
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from paraview import servermanager
>>> servermanager.Connect()
Connection (builtin:5)
>>> scene = animation.AnimationScene()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
NameError: name 'animation' is not defined
The book's examples of Python animation end many lines with ";" but I think's
that's more likely bad editing than really needed.
pvbatch fails in the same way.
Kent
Pittsburgh Supercomputing Center
More information about the ParaView
mailing list