AttributeError: Attribute FileName does not exist.  This class does not
allow addition of new attributes to avoid mistakes due to typos. Use
add_attribute() if you really want to add this attribute.


You are missing the attribute FileName

Follow the example at the bottom of the page 
http://paraview.org/Wiki/ParaView/Python_Scripting

and type:

reader_vtk = OpenDataFile(FileName=file_name_vtk)

-----------------
Jean M. Favre
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

Reply via email to