On 19, May 2009 12:13 PM, BOUSSOIR Jonathan 167706 <[email protected]> wrote:
>Hi all, > >I am using Linux and Paraview 3.4 or 3.5. I have one question when I >use a filter on Paraview 3.5 I have a error. >I laught python script with pvpython (or ipython) and paraview 3.4 my >script is running but with paraview 3.5 I have been a Attribut Error >with :reprShrink.ColorArrayName = "Normals" > >I don't know why it don't understand a attribut "Normals" on paraview >3.5 The error you are seeing with version 3.5 is due to the fact that you loaded the python modules using the old syntax: from paraview import servermanager try changing it by typing: from paraview.simple import * and your error disappears. Jean -- Swiss National Supercomputing Center _______________________________________________ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
