Hi,
I'm new to Blender / Python. I use version 2.64 to view a 3Dmodel generated, for now, by other software (Wavefront .obj format), so I have to switch over and over between generator and viewer. To speed this, I have this script in the Blender text editor:
import bpy
bpy.ops.import_scene.obj( filepath = "c:\models\model1.obj" )
bpy.data.objects["model1"].scale = (25, 25, 25)
Before running the script however, I still have to manually remove the currently displayed model1 using File > New (CTRL N). How can I automate also this in the script? It's a basic question, but I'd like to have this running while starting to learn B/P at the same time!
Thanks
better description:
scripting Blender GUI commands
Is there a useful add-on for this for my stuff?
bpy.ops.wm.read_homefile()
_________________
I'm sitting, waiting, wishing, building Blender in superstition...