Hey,
I have a python script that opens a Legacy VTK file that contains two scalar arrays of the same length (real and imaginary part of a wave function) and then adjusts the camera settings, representation and color. My transfer functions seem to be ignored and I just get full opacity and black color. Running the script inside the GUI's python shell gives the same result, but when I then change the array under Display->Coloring to the other one and back again. everything looks as expected. So my question is: What is this GUI element doing beyond "GetRepresentation(reader, view).ColorArrayName = ['POINTS', arrayname]" and how can I do the same within the python script? Kind regards Richard Kalhöfer
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview