This command sets the name of the variable used for retrieving tooltip text from objects. If an object has an attribute with a name that matches this variable then the attribute value will be displayed in the tooltip.
import viz
viz.go()
viz.add('tut_ground.wrl')
#Create models with tooltip text
ball1 = viz.add('ball.wrl',pos=(-2,1,5))
ball1.tt = 'Ball 1'
ball2 = viz.add('ball.wrl',pos=(0,1,5))
ball2.tt = 'Ball 2'
ball3 = viz.add('ball.wrl',pos=(2,1,5))
ball3.tt = 'Ball 3'
#Create a tool tip object
import viztip
tip = viztip.ToolTip()
tip.setTextName('tt')