<div dir="ltr"><div>Thanks...I wasn't sure if it's a bug or not. Will report next time.<br><br></div>ganesh<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 12, 2015 at 10:57 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ganesh,<br>
<br>
It'll be something like this:<br>
<br>
lut = GetColorTransferFunction("RTData")<br>
sb = GetScalarBar(a, GetActiveView())<br>
sb.Position = [x, y]<br>
sb.Position2 = [x2, y2]<br>
sb.Orientation = "Horizontal' # or | "Vertical"<br>
<br>
<br>
I've also reported a bug: <a href="http://www.paraview.org/Bug/view.php?id=15640" rel="noreferrer" target="_blank">http://www.paraview.org/Bug/view.php?id=15640</a><br>
<br>
Utkarsh<br>
<div><div class="h5"><br>
<br>
On Mon, Aug 10, 2015 at 7:02 PM, Ganesh Vijayakumar<br>
<<a href="mailto:ganesh.iitm@gmail.com">ganesh.iitm@gmail.com</a>> wrote:<br>
> Dear All,<br>
><br>
> Could you please help me with setting the location of the scalarBar<br>
> location using python scripting? I'm unable to see any changes to a python<br>
> script generated by "trace" when I move the scalar bar around.<br>
><br>
> ganesh<br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">ganesh<br></div>
</div>