<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hey folks,<br>
I'm looking for a way to export X3D files with a python script for
Paraview version 3.14.<br>
In v 3.8, what worked was: <br>
<br>
from paraview.simple import *<br>
exporters=servermanager.createModule("exporters")<br>
Cone()<br>
Show()<br>
SetActiveView(GetRenderView())<br>
Render()<br>
x3dExporter=exporters.X3DExporter(View=view,
FileName="/home/iagbeck/demo/foo.x3d")<br>
x3dExporter.Write()<br>
<br>
but that won't work in any version > 3.8 (see also bug tracker
report here:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://vtk.org/Bug/view.php?id=12738">http://vtk.org/Bug/view.php?id=12738).
</a><br>
<br>
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!<br>
<br>
Thanks for the help!<br>
<br>
Andrea<br>
<a href="http://vtk.org/Bug/view.php?id=12738"></a>
</body>
</html>