[Paraview] Text source font coloring in interpreter
M. Nawijn
nawijn at gmail.com
Fri Jul 17 15:09:10 EDT 2009
Thanks! It works. I start getting the idea...
Marco
On Fri, Jul 17, 2009 at 8:59 PM, Utkarsh
Ayachit<utkarsh.ayachit at kitware.com> wrote:
> Try this:
>
> from paraview.simple import *
> Text(Text="Hello")
> repr = Show()
> help(repr)
>
> That will show the list of available representation properties which
> includes "Color", "FontFamily" etc
>
> Utkarsh
>
>
>
> On Fri, Jul 17, 2009 at 2:54 PM, M. Nawijn<nawijn at gmail.com> wrote:
>> Hello,
>>
>> In the standalone Python interpreter I created a text source like this:
>>
>>>> from paraview.simple import Text
>>>> text = Text()
>>>> text.Text = "Hello"
>>
>> Next I would like to change the font/text color, since by default the
>> text is in white as is the background of my
>> visualization. However, I cannot find away to do it. I tried setting
>> "Color", "TextColor" etc. properties,
>> but these are not recognised.
>>
>> Does anybody know how to do this?
>>
>> Kind regards,
>>
>> Marco
>> _______________________________________________
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>
More information about the ParaView
mailing list