<div dir="ltr"><div><div><div><div><div>In order to change properties of some proxy in some group, e.g. property 'Color' of proxy 'TextProperty' in group 'properties'. I tried:<br><br></div>prx = proxyManager.GetProxy("properties", "TextProperty")<br>
</div>prx.Color=[0.0, 1.0, 0.0]<br><br></div>which does not work.<br><br></div>What is wrong ?<br><br>Thank you<br><br></div>kyr.<br><div><div><div><div><div><br></div></div></div></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 13 January 2014 16:13, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Yes Python can edit those properties.<div><br></div><div>Same as before, once you identified the proxy, you can look at its properties and find the ones that you need to change.</div><div>The proxies are defined inside XML files which can be found here: ${src}/ParaViewCore/ServerManager/SMApplication/Resources/*.xml</div>

<div><br></div><div>Seb</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 13, 2014 at 8:06 AM, Albrecht Kyrieleis <span dir="ltr"><<a href="mailto:akyrieleis@gmail.com" target="_blank">akyrieleis@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>OK. But I guess it is nevertheless possible to set the color of the text (on the legend) through python in PV/Web ?<br>

<br></div>How can I find out which parameter that is and on which proxy ?? <br>
<br></div>Thank you<br><br>Albrecht<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On 13 January 2014 15:57, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The state file should kept those information. This is a bug and I believe it is the same one as this one: <a href="http://www.paraview.org/Bug/view.php?id=13215" target="_blank">http://www.paraview.org/Bug/view.php?id=13215</a></div>


<div><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 13, 2014 at 7:07 AM, kyr <span dir="ltr"><<a href="mailto:akyrieleis@gmail.com" target="_blank">akyrieleis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



If I open in Paraview a very simple vtk file :<br>
<br>
# vtk DataFile Version 1.0<br>
C ====================================================================== C<br>
ASCII<br>
<br>
DATASET RECTILINEAR_GRID<br>
DIMENSIONS 3 3 3<br>
X_COORDINATES 3 float<br>
0 2 4<br>
Y_COORDINATES 3 float<br>
0 4 8<br>
Z_COORDINATES 3 float<br>
-1 0 1<br>
<br>
POINT_DATA 27<br>
SCALARS data_scalars double<br>
LOOKUP_TABLE default<br>
10 20 30<br>
40 50 60<br>
70 80 90<br>
<br>
10 20 30<br>
40 50 60<br>
70 80 90<br>
<br>
10 20 30<br>
40 50 60<br>
70 80 90<br>
<br>
<br>
SCALARS data_errors double<br>
LOOKUP_TABLE default<br>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27<br>
<br>
and then save as a state file: where in the state file will the color of the<br>
text on the color legend be stored ? Is it actually stored in the pvsm file<br>
? If I change the text color in Paraview and then load a state file<br>
(produced with another text color setting) then the text color is unchanged.<br>
<br>
Thank you<br>
<br>
kyr.<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/ColorLegend-properties-ParaviewWeb-tp2756p2773.html" target="_blank">http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/ColorLegend-properties-ParaviewWeb-tp2756p2773.html</a><br>




<div><div>Sent from the The Unofficial ParaView Developers Forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>