Hi Claudio,

Thanks for reporting this issue.  It's a bug in the script, I think it
might only be an issue if using the script in ParaView 4.0, is that the
version you are using?  Anyway, to correct it, please edit line 179 and
change:

    exportViewToDirectory(GetRenderView(), outDir)

to

    exportViewToDirectory(smp.GetRenderView(), outDir)

I will upload a new version of the script, too, with this correction.

Pat


On Wed, Jun 19, 2013 at 12:36 PM, petrinic <petri...@student.ethz.ch> wrote:

> Hi,
> I'm trying to export paraview data to my Desktop with the macro
> "paraview_to_kiwi.py", so that I can put it on Kiwiviewer on my iPhone.
> When I start macro it doesn't work, and in the Phyton shell I have this
> output:
>
> >>> exporting to /Users/claudiop/Desktop/PVExport-2013-06-19T18:33:23
>
> Traceback (most recent call last):
>
> File "<string>", line 202, in <module>
>
> File "<string>", line 192, in exportToDesktop
>
> File "<string>", line 179, in exportInDirectory
>
> NameError: global name 'GetRenderView' is not defined
>
>
>
> Does anyone have an Idea how to solve this problem and make it works?
> Thank you
> All the best,
>
> Claudio
>
> _______________________________________________
> 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
>
>
_______________________________________________
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