... not just something like it, it is exactly the solution to my problem!
Thanks!! :)
> Utkarsh Ayachit hat am 8. September 2016 um
> 13:29 geschrieben:
>
>
> Something like following should do the trick:
>
> def HasPreset(name):
> presets =
Something like following should do the trick:
def HasPreset(name):
presets = servermanager.vtkSMTransferFunctionPresets()
for i in range(presets.GetNumberOfPresets()):
if presets.GetPresetName(i) == name:
return True
return False
On Thu, Sep 8, 2016 at 3:52
Hello All
I haven't been able to find a solution for this, so maybe someone can give me a
hint...:
I am loading data via a python script into ParaView (5.0) and want to color it
with a specific color scale. I can load this scale with the script and apply the
coloring as desired but if the scale