Dear mailing list members,
I have some trouble exporting a scene to a X3D file via pvpython.
I tried to execute to code found in http://public.kitware.com/pipermail/paraview/2012-May/024924.html
(see below). It is executed without any errors, but no output file is created.
My Paraview version is 4.0.1 64-bit (on a Ubuntu 14.04 machine).
What I want to achieve is to convert .ply files to .x3d via pvpython.
Could someone give me a hint?
Thanks in advance,
Michael
from paraview.simple import *
exporters=servermanager.createModule("exporters")
source=Cone()
view = GetActiveView()
Show(view)
render=Render()
x3dExporter=exporters.X3DExporter(FileName="foo.x3d")
x3dExporter.SetView(view)
x3dExporter.Write()
exporters=servermanager.createModule("exporters")
source=Cone()
view = GetActiveView()
Show(view)
render=Render()
x3dExporter=exporters.X3DExporter(FileName="foo.x3d")
x3dExporter.SetView(view)
x3dExporter.Write()
_______________________________________________ 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://public.kitware.com/mailman/listinfo/paraview
