[Paraview] How to use a filter in a Python script?
ghw at accutrol.com
ghw at accutrol.com
Tue Nov 2 22:31:25 EDT 2010
I am a newbie to Paraview and have little experience programming Python. I
would like to know how to call a particular filter from within Python. The
only filter I have seen referenced in the Python scripting documentation is
Shrink().
I want to retrieve the scalar values along a line segment (Plot Over
Line(ProbeLine)) that extends through an unstructured 3D grid. I have "The
ParaView Guide", "The VTK User's Guide" and "The Visualization Toolkit: An
Object-Oriented Approach to 3D Graphics". I don't see how to programmatically
do this. I have looked on all of the ParaView web sites that I can find, and
in tutorials. I do not even see a list of available filter names.
Is there a guide for Python Scripting (chapter 20 of The ParaView Guide is the
best I have found) that covers using filters? Example code? Anything? How
do you even find the filter names in the documentation?
Thanks for any help,
Hamilton Woods
More information about the ParaView
mailing list