Hi,
This is a somewhat newer feature and somehow didn't make it into the documentation. Here is a description of viz.input and another command viz.choose.
viz.input(prompt, value='')
prompt - A Message that will appear above the input box
value - The initial value of the input box
This method will return the text inside the box
viz.choose(prompt,choices, selection=0)
prompt - A message that will appear above the selection list
choices - A list of strings that represent the possible choices
selection - The index of the initial selected value in the list
This method will return the index number of the selected option.
Also if you want to just output a message you can do the following command:
Code:
import win32ui
win32ui.MessageBox("Some message","Title")
About your vrml file, are you getting any errors in the output window when the vrml file is loading? One thing to keep in mind is that the current vrml loader does not support Texture Transorm nodes. Open your vrml file in a text editor and make sure there aren't any Texture Transfrom nodes.