[Paraview] Deleting Items in Python

Robert Maynard RobertJMaynard at gmail.com
Mon Oct 15 12:54:44 EDT 2007


What is the syntax to delete an object that has been created in python, and
than been registered with ParaView?

For example I create a sphere like this:
  view = servermanager.GetRenderView()
  sphere = servermanager.sources.SphereSource(registrationGroup='sources',
registrationName='del')
  dataDisplay = servermanager.CreateRepresentation(sphere, view,
registrationGroup='representations')

Than trying to delete it by using the del command (del sphere, etc) does not
work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20071015/d8f7b9cb/attachment.html


More information about the ParaView mailing list