View Single Post
  #2  
Old 04-27-2009, 11:51 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,466
This should work. Have you tried a simple script like this.

Code:
import viz
viz.go()

button = viz.addButton()
button.translate(.5,.5)

def addModel():
      #add you model here

vizact.onbuttondown(button, addModel)
Reply With Quote