[Paraview-developers] python programable filer gui parameters

David E DeMarle dave.demarle at kitware.com
Wed Apr 17 20:36:37 EDT 2013


On Wed, Apr 17, 2013 at 12:03 PM, Antoni Artigues Barceló <
antoni.artigues at bsc.es> wrote:

> Hello,
>
> I have two questions about python programmable filters:
>
> It is possible to add GUI parameters to a python programable filter?
>
>
We don't provide anything to make that easy. I think doing so would involve
hacking the paraview source code. What I've considered before is adding new
paraview properties that set string values on the underlying vtk
programmable filter that get passed into the python interpreter to make it
happen.

Hopefully somebody out there has an easier workaround.



> It is possible to import python modules from a python programable filter?
>
>
In most cases it should. As a simple check:
import sys
print dir(sys)
works for me on 3.14.1 on mac lion using kitware binary



> Thanks in advance
>
> Antoni Artigues
>
>
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130417/27157cef/attachment.htm>


More information about the Paraview-developers mailing list