Hi,
New to python scripting. How can one output a csv file inside a python
script/macro?
I am trying the wiki:
>>> writer = CreateWriter(".../foo.csv", source)
>>> writer.FieldAssociation = "Points" # or "Cells"
>>> writer.UpdatePipeline()
>>> del writer

But I get:
Traceback (most recent call last):
  File "<string>", line 173, in <module>
AttributeError: 'str' object has no attribute 'UpdatePipeline'

Thanks for any help.

Denis
_______________________________________________
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://public.kitware.com/mailman/listinfo/paraview

Reply via email to