[Paraview] GL2PSExporter and python

Mickael PHILIT mickey.phy at gmail.com
Mon Jan 14 13:23:42 EST 2013


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





More information about the ParaView mailing list