[vtk] obj delete in Python

Randy Heiland heiland at ncsa.uiuc.edu
Mon May 22 16:34:17 EDT 2000


Can some Pythoneer clue me in on how to properly delete Python-VTK objects?
 E.g.
>>> from libVTKCommonPython import *
>>> pts=vtkPoints()
>>> pts.GetClassName()
'vtkPoints'
>>> pts.Delete()
Traceback (innermost last):
  File "<stdin>", line 1, in ?
AttributeError: Delete
>>> del pts

does 'del' really free up memory?

thanks,
--Randy
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list