You have to write each file individually. However, you can do it just
a few lines without copy-pasting as follows:
exporters = servermanager.createModule(exporters)
vrml = exporters.VRMLExporter()
for d in range(3):
vrml.FileName = /tmp/%d.vrml % d
vrml.View = GetActiveView()
vrml.Write()
Hi everyone,
I am a new user of Paraview and I'm quite interested in using Python script
for Paraview
My goal is to import VTK series files, apply a contour to all of them and
finally export the contours in VRML format. This is my first script :