#1
|
|||
|
|||
Trouble loading a .obj file into a scene through a button
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?
|
#2
|
|||
|
|||
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) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
intersense with 5DT glove | sjp | Vizard | 2 | 04-06-2009 07:22 AM |
Problems loading WRL file | DrunkenBrit | Vizard | 2 | 01-29-2009 12:58 AM |
trouble loading vrml files generated by ProE | tavaksai | Vizard | 12 | 12-09-2008 11:11 AM |
Trouble Loading Maya7 Cal3d Exporter | tbeckert | Vizard | 3 | 11-06-2007 09:38 AM |
Problems loading dls file | vnacooper | Plug-in development | 1 | 03-05-2007 09:26 AM |