[Paraview] Set background color, paraview web
Sebastien Jourdain
sebastien.jourdain at kitware.com
Fri Apr 28 13:07:48 EDT 2017
At the end of the "initialize" function.
Or just edit to match the color you want.
https://github.com/Kitware/visualizer/blob/master/server/pvw-visualizer.py#L197
On Fri, Apr 28, 2017 at 10:47 AM, Daniel Zuidinga <info at seoaachen.de> wrote:
> I run the pv_web_visualizer.py
>
> just add it to that file at the end?
>
>
> Am 28.04.2017 um 18:44 schrieb Sebastien Jourdain:
>
> I don't know, are you using ParaView as server? What is the Python file
> you execute to run that server? That could be in that file.
>
> On Fri, Apr 28, 2017 at 10:42 AM, Daniel Zuidinga <info at seoaachen.de>
> wrote:
>
>> in which file?
>>
>>
>> Am 28.04.2017 um 16:53 schrieb Sebastien Jourdain:
>>
>> In Python on the server side:
>>
>> view = simple.GetRenderView()
>>
>> view.Background = [0, 0.5, 1]
>>
>> On Fri, Apr 28, 2017 at 8:10 AM, Daniel Zuidinga <info at seoaachen.de>
>> wrote:
>>
>>> Hi,
>>>
>>> where can I set the default background color in paraview web?
>>>
>>> best regards
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170428/9268c0ce/attachment.html>
More information about the ParaView
mailing list