<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>I already do that in the animation callback. &nbsp;The grid moves as a whole. &nbsp;What doesn't happen is updates to the positions of the grid points.</span></div><div><br></div>  <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> David Doria &lt;daviddoria@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Gregory Propf &lt;gregorypropf@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> "vtkusers@vtk.org" &lt;vtkusers@vtk.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, June 1, 2012 4:24 AM<br> <b><span
 style="font-weight: bold;">Subject:</span></b> Re: [vtkusers] updating points in vtkUnstructuredGrid<br> </font> </div> <br>On Fri, Jun 1, 2012 at 4:10 AM, Gregory Propf &lt;<a ymailto="mailto:gregorypropf@yahoo.com" href="mailto:gregorypropf@yahoo.com">gregorypropf@yahoo.com</a>&gt; wrote:<br>&gt; Can someone tell me how to get the actor for an&nbsp;vtkUnstructuredGrid to<br>&gt; actually update (I'm doing an animation) when I change the underlying points<br>&gt; with Python code like:<br>&gt;<br>&gt; pts = self.aPolyLineGrid.GetPoints()<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; for i in range(len(self.elementList)):<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pts.SetPoint(i,self.elementList[i].loc.toTuple())<br>&gt;<br>&gt; I follow this with&nbsp;self.aPolyLineGrid.Update() but nothing changes on screen<br>&gt; though I've verified that the points list is changing. &nbsp;Oddly, when I<br>&gt;
 use&nbsp;self.edgeActor.SetPosition(self.centerOfMass.x,self.centerOfMass.y,self.centerOfMass.z)<br><br>Try calling renderWindow-&gt;Render()<br><br>David<br><br><br> </div> </div>  </div></body></html>