Hey folks,
I'm looking for a way to export X3D files with a python script for Paraview version 3.14.
In v 3.8, what worked was:

from paraview.simple import *
exporters=servermanager.createModule("exporters")
Cone()
Show()
SetActiveView(GetRenderView())
Render()
x3dExporter=exporters.X3DExporter(View=view, FileName="/home/iagbeck/demo/foo.x3d")
x3dExporter.Write()

but that won't work in any version > 3.8 (see also bug tracker report here: http://vtk.org/Bug/view.php?id=12738). <http://vtk.org/Bug/view.php?id=12738>

Is there anyone who knows how to do that? Alternatively, if you have some code snippets about exporting / importing files (tecplot bins) lying around, please let me know!

Thanks for the help!

Andrea
<http://vtk.org/Bug/view.php?id=12738>
_______________________________________________
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