[Paraview] OpacityTableValues

Favre Jean jfavre at cscs.ch
Tue Jan 7 10:47:08 EST 2014


I am using the RC2, but am puzzled by the following:

I can run paraview and create a sphere, and in the python shell, I do  this (without any problem)

s = FindSource('Sphere1')
dp = GetDisplayProperties(s)
dp.OpacityTableValues

I use "save state" and the python code sets OpacityTableValues

if instead I run pvpython, I cannot access the OpacityTableValues attr.

from paraview.simple import *
s = Sphere()
dp = Show(s)
dp.OpacityTableValues
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/apps/eiger/src/ParaView-v4.1.0Build/lib/site-packages/paraview/servermanager.py", line 414, in __getattr__
    return getattr(self.SMProxy, name)
AttributeError: OpacityTableValues

sorry if this is trivial...
TIA
Jean


More information about the ParaView mailing list