[Paraview] Question about python scripting

Patrick Shane Calhoun psc28 at cornell.edu
Tue Jul 1 17:03:05 EDT 2008


Hello everyone,

I am trying to write a routine that will take all the subdomains of a set
of data and display each one with different solid colors. I wrote a
bashscript that creates a pvd file for each of these subdomains. Now I
want to try and write a python script that can take in my pvd files one by
one and display them all (on the same screen) in different colors.
However, I can not find the correct paraview function for python that
accomplishes this. Based on what I read on the python scripting wiki, I
need to use pvpython to implement this code but I cant find any routines
that allow me to insert my pvd data files. Let me know if you have any
solutions to my problem.

Cheers,

Patrick



More information about the ParaView mailing list