All Questions
20
questions
1
vote
0
answers
38
views
Memory management batch file script not working
using the information from this exchange(When Blender crashes during rendering), I made a script that for some reason doesn't work. The script I made is just like the one in the example except for the ...
1
vote
0
answers
33
views
Multi files rendering with windows script command dont work
I have a recent problem that prevents me from using windows scripts for render queue on my desktop workstation.
The commands work, but the only problem is that it doesn't chain the next command to ...
0
votes
2
answers
115
views
Restarting Blender with a Script
I am trying to create an operator that restarts Blender. This script has worked for me in the past:
...
0
votes
1
answer
114
views
Help with importing modules with classes in blender
I'm making a file importer addon (for a 3d model) for blender. Since the file format I'm working on is in binary ,for that I have been using a binaryreader for reading the needed values.
The binary ...
1
vote
1
answer
260
views
2
votes
1
answer
542
views
Get Window Handle from blender api?
is there a way to get the window handle value from python API?
i know about
user32 = ctypes.WinDLL('user32', use_last_error=True)
user32.GetActiveWindow()
But that'...
1
vote
1
answer
305
views
Run Blender from CLI with GUI
Hello dear blender community,
I am trying to automate a few tasks in Blender, and trigger their execution from the command line like this:
...
2
votes
1
answer
606
views
Using bpy in a standalone python script dies when rendering
EDIT (Solution):
I was able to fix this by adding the following line:
bpy.context.scene.render.engine = 'CYCLES'
This works fine for me as I need to use the cycles ...
0
votes
0
answers
290
views
Blender 2.83 Doesnt Load: Debug Output says "EXCEPTION_ACCESS_VIOLATION"
I checked one of the text files for 2.83 and says my GPU is supported, I ran one of the command scripts (blender factory startup) and it produced a Blender Debug Output. This text message says
...
0
votes
1
answer
1k
views
Blender 2.8 Command Line: Errors on running script
I am looking to run my python scripts using the command line. So far, I have confirmed I can open blender using the command line, and I can open a specific file as well.
The issue comes when I ...
1
vote
0
answers
707
views
search folder and import each file by script (ver. 2.79b)
Aims:
I have a displacement modifier applied on the object.
Image files were put into a sub-folder.
I wanted to use script to search the sub-folder, replace the image(used by displacement modifier) ...
2
votes
2
answers
485
views
How to remove every inactive/unused screens in python?
in blender you can easely create thousands of screens.
i'd like to have every screens from bpy.data.screens that are not visible deleted, how can i do that ?
i know that
...
1
vote
1
answer
105
views
How to prevent a newly create window to change its content when switching between workspaces?
hello, how do i prevent this behavior of any newly created window /window dupplication ? i want the content of the window to stay the same when switching from workspaces to workspaces.
can it be ...
1
vote
1
answer
698
views
Make a Blender script run an external program
I'm making a script to share data between Blender and After Effects: i created an addon in Blender which exports a .txt file in the After Effects directory (or a custom one) and I created a After ...
0
votes
0
answers
943
views
How do I set the env variables properly so I can run Blender with customized paths on Windows?
I want to run a customized version of Blender on Windows. So i set these env variables in a batch file. Blender picks up the user config folder alright but it still points to default addon paths when ...