Thread: Object.remove()
View Single Post
  #5  
Old 05-24-2005, 11:10 AM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
If an object as for example the balls have other wrl-files associated with them, these do not get deleted when the object itself gets deleted?!


class ball...

self.node = viz.add('../resources/joNew/050305_ballRed.WRL')
self.fGravityArrow= viz.add('../resources/joNew/arrow.WRL')


So I guess I would have to use an array for the gravity-Arrows (put them in) and later delete it as (del (gravityArrow[:]) described by you?

Johannes
Reply With Quote