[Paraview] Python Reader

Brockmann Patrick Patrick.Brockmann at cea.fr
Mon Oct 18 13:03:48 EDT 2010


> I'm assuming you want something more refined than:
>
> Programmable Filter:
>
> filename = 'myfilename'
> execfile(my_python_code.py)
>
> ---
> where filename is used within my_python_code as a variable?
>   
Yes, especially if you want to design a plugin where filename
is an entry choosen by a user.
I am looking for a real example in the configuration of a
ServerManagerConfiguration file for a python reader.

Thanks
Patrick




More information about the ParaView mailing list