Re: [Paraview] Update Slice Filter / Python Equivalent of "Apply"

2008-11-02 Thread Berk Geveci
Hi David, The python code to achieve what you want should look like: pm= servermanager.ProxyManager() mha_slice = pm.GetProxy("sources","mha_slice") mha_slice.CutFunction[0].Normal = [1, 0, 0] assuming that mha_slice is a Cut (slice) filter. I found a bug that causes this to not work. I

[Paraview] Update Slice Filter / Python Equivalent of "Apply"

2008-10-27 Thread David Fuentes
What is the python script equivalent of the "Apply" button for the "slice" filter? I have an image file .mha to which I applied the slice filter. I can change the normal direction of the slice from a python script. pm= servermanager.ProxyManager() mha_slice = pm.GetProxy("sources","mh