Thanks to everyone that helped me figure out how to delete registered objects from paraview. The below code is an example on how to properly delete items from paraview with the python interface. Hopefully this helps somebody else out, since the current servermanager pdf skipped this problem.
<br><br><br><br><br><br>pxm = servermanager.ProxyManager()<br>view = servermanager.GetRenderView()<br><br>object = servermanager.SphereSource(registrationGroup=&#39;sources&#39;, registrationName=&#39;sphere&#39;) #create and register the sphere
<br>display = paraview.servermanager.CreateRepresentation(object, view, registrationGroup=&#39;representations&#39;) #register the display of the sphere<br><br>pxm.UnRegisterProxy(&#39;sources&#39;, &#39;sphere&#39;, object) #delete the source reference to the sphere
<br>pxm.UnRegisterProxy(&#39;representations&#39;, &#39;sphere&#39;, object) #delete the representation ref of the sphere (do not pass the display object to this, it will cause paraview to crash on the next manual source creation)
<br>&nbsp;&nbsp;&nbsp; <br><br>rep = self.view.Representations&nbsp;&nbsp; #save some typing<br>size = range(len(rep))&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #need to keep track of the length since .index() is not aviable<br><br>#need to delete the view representation copy, or else the sphere will stay on the render window&nbsp;&nbsp;&nbsp; 
<br>for item, index in zip(rep,size):<br>&nbsp; if (self.display == item):<br>&nbsp;&nbsp;&nbsp; del rep[index]<br><br>del object<br>del display&nbsp;&nbsp;&nbsp; <br><br><br><div><span class="gmail_quote">On 10/23/07, <b class="gmail_sendername">Milan Frank
</b> &lt;<a href="mailto:milan.frank@gmail.com">milan.frank@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">What would happened if I create the sphere without registration name and group?
<br><br>sphere = servermanager.sources.SphereSource()<br><br>What is the correct way to dispose such object?<br><br>Thanks,<br>Milan.<br><br>On 22/10/2007, Robert Maynard &lt;<a href="mailto:RobertJMaynard@gmail.com">RobertJMaynard@gmail.com
</a>&gt; wrote:<br>&gt; Where can I find the Displays property, I have been unable to find exactly<br>&gt; where the property is.<br>&gt;<br>&gt; On 10/15/07, Utkarsh Ayachit &lt; <a href="mailto:utkarsh.ayachit@kitware.com">
utkarsh.ayachit@kitware.com</a>&gt; wrote:<br>&gt; &gt; Don&#39;t forget to unregister the dataDisplay as well, and remove the it<br>&gt; &gt; from the view&#39;s &quot;Displays&quot; property, otherwise the sphere isn&#39;t going
<br>&gt; &gt; anywhere :).<br>&gt; &gt;<br>&gt; &gt; Utkarsh<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Berk Geveci wrote:<br>&gt; &gt; &gt; You have to unregister the object from the proxy manager:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; pm = 
servermanager.ProxyManager()<br>&gt; &gt; &gt; pm.UnRegisterProxy(&quot;sources&quot;, &quot;del&quot;)<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; -berk<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On 10/15/07, *Robert Maynard* &lt; 
<a href="mailto:RobertJMaynard@gmail.com">RobertJMaynard@gmail.com</a><br>&gt; &gt; &gt; &lt;mailto:<a href="mailto:RobertJMaynard@gmail.com">RobertJMaynard@gmail.com</a>&gt;&gt; wrote:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; What is the syntax to delete an object that has been created in
<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; python, and than been registered with ParaView?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; For example I create a sphere like this:<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; view = servermanager.GetRenderView()<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sphere = 
servermanager.sources.SphereSource<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; (registrationGroup=&#39;sources&#39;, registrationName=&#39;del&#39;)<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dataDisplay =<br>&gt; servermanager.CreateRepresentation(sphere, view,
<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; registrationGroup=&#39;representations&#39;)<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Than trying to delete it by using the del command (del sphere, etc)<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; does not work.<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; _______________________________________________<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; ParaView mailing list<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a> &lt;mailto:<a href="mailto:ParaView@paraview.org">
ParaView@paraview.org</a>&gt;<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>&gt; ------------------------------------------------------------------------<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; ParaView mailing list<br>
&gt; &gt; &gt; <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>&gt; &gt; &gt; <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>&gt; &gt;
<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; ParaView mailing list<br>&gt; <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview">
http://www.paraview.org/mailman/listinfo/paraview</a><br>&gt;<br>&gt;<br></blockquote></div><br>