Hello,
We are attempting to use Paraview to visualise some data from a
simulation. At present we have a standalone Python script that converts
the data into a legacy VTK file which Paraview can read. Ideally we'd
like to integrate the script into Paraview as a programmable source so
that the
Hello James
I don't believe this is a bug. I have used the ProgrammableSource and was able
to render a grid without any difficulty. What is missing in your procedure is
most likely setting the WholeExtent.
try loading this script and you'll get a rendered image
paraview --script=state.py
Hi Jean,
Thanks a lot - that solves my first problem!
Regards,
James
On 10/02/2011 12:30, Favre Jean wrote:
Hello James
I don't believe this is a bug. I have used the ProgrammableSource and was able
to render a grid without any difficulty. What is missing in your procedure is
most
1) Adding a view after adding a source with python
I have the following script which adds a sphere to the pipeline browser
#!/usr/bin/pvpython
#must be run from inside paraview!
from paraview import servermanager
sphere = servermanager.sources.Sphere()
pm=servermanager.ProxyManager()