Saturday, March 6, 2010

GUI for scripts

I was making a GUI for python scripts in Blender 2.49. The ones that run when you press [ALT]+P in your text window. I made a button, which when clicked calls a function. Now I can use a simple function such as the Draw.Exit() on a "Cancel" button. However, I want to be able to run another script when a button is clicked. There's a Blender.Run(script) sub-module for that, but I'm having trouble with that.

If anyone has used Run before, please help me out. How is it used? (The API information on Run didn't help me much)


No comments: