Re: [Paraview] exporting VRML files with python script

2010-06-24 Thread Utkarsh Ayachit
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()

[Paraview] exporting VRML files with python script

2010-06-17 Thread Yann-Hervé Hellouvry
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 :