You have to unregister the object from the proxy manager:<br><br>pm = servermanager.ProxyManager()<br>pm.UnRegisterProxy("sources", "del")<br><br>-berk<br><br><br><div><span class="gmail_quote">On 10/15/07,
<b class="gmail_sendername">Robert Maynard</b> <<a href="mailto:RobertJMaynard@gmail.com">RobertJMaynard@gmail.com</a>> 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 is the syntax to delete an object that has been created in python, and than been registered with ParaView?<br><br>For example I create a sphere like this:<br> view = servermanager.GetRenderView() <br> sphere = servermanager.sources.SphereSource
(registrationGroup='sources', registrationName='del') <br> dataDisplay = servermanager.CreateRepresentation(sphere, view, registrationGroup='representations')<br><br>Than trying to delete it by using the del command (del sphere, etc) does not work.
<br>
<br>_______________________________________________<br>ParaView mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">
http://www.paraview.org/mailman/listinfo/paraview</a><br><br></blockquote></div><br>