<div dir="ltr"><div>Think of fetch and the python shell in general as working on copies of the data in the client. Changes to the copy won't persist. The way it showed up in the spreadsheet view is kind of fluke.</div><div><br></div><div>Try the python programmable filter which works on the data where it lives on the server. The output of that filter will reflect the changes.</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Thu, Feb 4, 2016 at 2:50 PM, Dinu Patirniche <span dir="ltr"><<a href="mailto:dinu.patirniche@gmail.com" target="_blank">dinu.patirniche@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 class="HOEnZb"><div class="h5">Hi there,<br>
<br>
I'm trying to change the coordinates of a 3D Point, and then visualize<br>
it. I managed to change the coordinates of the point via:<br>
<br>
import vtk.numpy_interface.dataset_adapter as dsa<br>
pointSource1.UpdatePipeline()<br>
rawData = servermanager.Fetch(pointSource1)<br>
data = dsa.WrapDataObject(data)<br>
data.Points[0][0] = 10<br>
<br>
<br>
This sets the X-coordinate of the first point in the list to 10. Now,<br>
if I open a spreadsheet view, upon updating the pipeline, I can see<br>
the manually set value in the table. But in the render-view, the point<br>
stays in the same place. This changes, when I try select the point,<br>
which immediately goes to the right place. Once I cancel the<br>
selection, everything goes back to the original configuration. Also in<br>
the information panel, the span along the X-axes doesn't change during<br>
this whole process at all.<br>
<br>
Does anyone know what I have to call, in order to make that change effective?<br>
<br>
Thanks,<br>
Dinu<br>
_______________________________________________<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 <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: <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>
</div></div></blockquote></div><br></div>