Hello everybody,
I tried to write a plugin (renderVol.py attached) to do a volume
rendering in PWConsole of ParaviewWeb.
When I tried to set the ColorArrayName or Representation (functions in
renderVol.py), I always got this:
Traceback (most recent call last):
File jsonrpc, line 147, in
Hi,
You should provide the JavaScript has well. Otherwise it's thought to
understand what is wrong when you have half of the informations.
Moreover, you can also look at that previous e-mail.
(http://markmail.org/thread/bm32g6sckjqvyiy5) It show some code on how
to setup the volume rendering from
Hi,
My fault, I'm sorry :)
Here is what I did in PWConsole:
paraview.loadPlugins();
aaa = paraview.OpenDataFile({filename:/root/DATA/hola.mhd});
//It's just a .mhd which point to a .raw data
paraview.Show();
vol = paraview.plugins.renderVol;
vol.init();
vol.setColorArrayName('MetaImage')