Hello Blender Friends, Im from Germany and my english is not so good but I hope your understand my and can help.
I will create a simple Slide show in VSE automatically but it don’t work. I try some Scripts but they don’t work.
The first what I do, I make it manuel and look in the Info for the code.
Until now I have one line that works.
import os
import bpy
bpy.context.scene.sequence_editor.active_strip.frame_final_duration = 26
The second lines I try in different forms but they give my errors like this.
I enter this in the Blender Console
>>> bpy.ops.sequencer.effect_strip_add(frame_start=0, frame_end=25, type='TRANSFORM')
Traceback (most recent call last):
File "<blender_console>", line 1, in <module>
File "/home/tron/Downloads/blender-2.78c-linux-glibc219-x86_64/2.78/scripts/modules/bpy/ops.py", line 189, in __call__
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.sequencer.effect_strip_add.poll() failed, context is incorrect
The code line from Blender Info if I make manuel add a Effect Strip.
I try this in different other forms like this.
>>> bpy.ops.sequencer.active_strip.effect_strip_add(frame_start=0, frame_end=25, type='TRANSFORM')
Traceback (most recent call last):
File "<blender_console>", line 1, in <module>
AttributeError: 'BPyOpsSubModOp' object has no attribute 'effect_strip_add'
Does anyone know how I do can Add Effect Strip Transform for active strip Image?
Greeting Tron
blender-2.78c-linux-glibc219-x86_64
Distro: Linux Mint 18 Sarah
Kernel: 4.4.0-64-generic x86_64 (64 bit)
Desktop: Cinnamon 3.0.7
CPU: Quad core Intel Core2 Quad Q6600 (-MCP-) cache: 4096 KB
clock speeds: max: 2400 MHz 1: 1600 MHz 2: 1600 MHz 3: 1600 MHz 4: 2400 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Oland PRO [Radeon R7 240/340]
Display Server: X.Org 1.18.3 drivers: ati,radeon (unloaded: fbdev,vesa)
Resolution: [email protected], [email protected]
GLX Renderer: Gallium 0.4 on AMD OLAND (DRM 2.43.0, LLVM 3.8.0) GLX Version: 3.0 Mesa 11.2.0