Le 04/06/2010 14:43, Favre Jean a écrit :
thanks, but the method OpenDataFile() takes "1 non-keyword argument"...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) Jérôme |
<<attachment: jerome_plumecoq.vcf>>
_______________________________________________ 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
