Thread: Object.remove()
View Single Post
  #15  
Old 05-24-2005, 03:33 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Do you have the intersense server program running? Also, when you connect to the intersense have you tried explicitly declaring which port to connect to? For example, if you know the intersense is connected on COM1 then do the following:
Code:
PORT_INTERSENSE = 1
v = viz.add('intersense.dls')
Calling del on a Vizard object has no effect in regards to the graphics scene. del is simply a python command that undeclares a variable. You do not need to call del on self.node or self.fGravityArrow. That will automatically be done when you call del on the object which contains them. However, if you want to delete them from the graphics scene, then you must call the remove() function.
Reply With Quote