View Single Post
  #2  
Old 09-16-2013, 05:35 AM
Kevin Chiu Kevin Chiu is offline
WorldViz Team Member
 
Join Date: Feb 2012
Posts: 26
Hi,

As Vizard is Python based, you actually can use Python's function to convert your variable to a string and show it in a text box or dialogue box.

Please try this simple sample:
Code:
import viz

viz.go()

a = 10
b = 3

box = viz.addTextbox()
box.setPosition(.5,.5)
box.message(str(a + b))
Reply With Quote