Hello,
I am testing GL2PSExporter in paraview 3.98 from python shell.
Thus, I do:
>>> exporters = servermanager.createModule('exporters')
>>> svgExport = exporters.GL2PSExporterSVG()
>>> svgExport.SetRenderWindow( view1 )
>>> svgExport.FileName = "/home/mickael/test.svg"
>>> svgExport.Write()
Unfortunately, it crashes paraview.
It seems that SetRenderWindow and Write methods are not available in python.
Did I do something wrong or is it a bug in python wrapping ??
Best Regards
Mickael PHILIT
_______________________________________________
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