I'm very stumped and I assume that there isn't a fix for this so I'm looking for some kind of work around. It seems as if the Scene maybe loaded after the python script is autorun both by the command line " -P main.py" and also having register script checked. Certain script commands run fine. Eg:
bpy.context.scene.frame_end = soundl
But selecting Modes or area types throw an error. Eg:
bpy.context.area.type = "SEQUENCE_EDITOR"
Note: The script works fine if I click Run Script within Blender.
The purpose of this project is to automate random movements for the rig in a large video sequence. Blinks, hand gestures, etc.
Any help would be greatly appreciated. Thank you!
Scripting in Blender with Python, and working on the API
2 posts • Page 1 of 1
Who is online
Users browsing this forum: Yahoo [Bot] and 0 guests