Hi there, I'm trying to change the coordinates of a 3D Point, and then visualize it. I managed to change the coordinates of the point via:
import vtk.numpy_interface.dataset_adapter as dsa pointSource1.UpdatePipeline() rawData = servermanager.Fetch(pointSource1) data = dsa.WrapDataObject(data) data.Points[0][0] = 10 This sets the X-coordinate of the first point in the list to 10. Now, if I open a spreadsheet view, upon updating the pipeline, I can see the manually set value in the table. But in the render-view, the point stays in the same place. This changes, when I try select the point, which immediately goes to the right place. Once I cancel the selection, everything goes back to the original configuration. Also in the information panel, the span along the X-axes doesn't change during this whole process at all. Does anyone know what I have to call, in order to make that change effective? Thanks, Dinu _______________________________________________ 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
