View Single Post
  #6  
Old 08-01-2014, 08:25 AM
roobert roobert is offline
Member
 
Join Date: May 2014
Location: Pachuca, Hidalgo, México
Posts: 34
Send a message via Skype™ to roobert
And if I want get the text that put in the node, how I do?

house1 = house('box.wrl', 'HOUSE_GET_TEXT', [-10,0,-20])

sensor.text = viz.addText(text,parent = self.obj)


e.sensor.text.visible(viz.ON)
X=e.sensor.text.getText()
print X => "HOUSE_GET_TEXT"
Reply With Quote