system-info.txt (16.9 KB)
If am developing an AddOn. Currently I have a problemd with
byp.ops.sound.mixdown
After using it I get this error:
Error: Ç´£Lq
Traceback (most recent call last):
File “C:\Users\hcjev\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\XMLGenerator\SceneOperators.py”, line 1060, in execute
bpy.ops.sound.mixdown(filepath=export_name)
File “C:\Users\hcjev\Programme\Blender Foundation\Blender\2_83\2.83\scripts\modules\bpy\ops.py”, line 201, in call
ret = op_call(self.idname_py(), None, kw)
RuntimeError
location: :-1
location: :-1
XMLGenerator\SceneOperators.py", line 1060 and the lines bfore:
bpy.context.window.scene = s
bpy.context.window.workspace = bpy.data.workspaces[“Layout”]
bpy.context.area.ui_type = ‘VIEW_3D’
if bpy.context.scene.name == s.name:
print ( bpy.context.scene.name, export_name )
bpy.ops.sound.mixdown(filepath=export_name)