View Full Version : Trouble loading a .obj file into a scene through a button
djones1010
04-26-2009, 08:42 PM
I am trying to load a .obj file into a scene when I press a button, but it doesnt seem to work. How could i get this function to work if this is possible?
This should work. Have you tried a simple script like this.
import viz
viz.go()
button = viz.addButton()
button.translate(.5,.5)
def addModel():
#add you model here
vizact.onbuttondown(button, addModel)
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.