All Questions
Tagged with scripting blend-files
36
questions
0
votes
1
answer
17
views
Load properties from scene in another blend file (without contents)
I'm trying to load scene properties from a given blend file into the current one using bpy.data.libraries.load()
...
1
vote
1
answer
41
views
How can I set the color/material of an object added/appended from another file?
It is not possible to set the color of the object added from the file. What am I doing wrong?
...
0
votes
0
answers
18
views
Get access to images paths with external text editor (SublimeText for Example)
I want to quickly manipulate images paths in blender files with SublimeText as lists.
Maybe I can open blend. files like Zip Archives and edit data-blocks as simple text files?
Maybe I can quickly ...
1
vote
0
answers
68
views
Best practices for collaboration [closed]
We are working on an internal project with several people on a Blender file. This file serves as a template for a rendering pipeline in which various parameters, objects, etc. are adjusted during ...
1
vote
1
answer
35
views
Why is the element type in the list data_from.scenes changing to another type?
I have the following script. What exactly is happening in the background, why does the element type in data_from.scenes[0] change from ...
0
votes
1
answer
259
views
Batch rename a .Blend file after the first object or mesh name in the file
After a data crash I have a couple of thousand files like this "f1288357332.blend". I'm not good at python but there must be a way to rename those files as batch after the Object or mesh ...
1
vote
0
answers
483
views
How to get return values when I run blender script from command line?
I've got these project structure:
data.blend:
Contains object and used by script.py
script.py:
Does some calculation with data.blend and return some_value
...
0
votes
1
answer
462
views
Running rendering script on remote computer: Exception_Access_Violation (Win32 Error 127)
for each request getting, I am calling blender with a blend-script by the python call subprocess.run, in order to render an image of a stl-file. This works normally very well.
Unfortunately, I am ...
1
vote
0
answers
555
views
Creating 3D Blender Objects using the Fibonacci Sequence or Math [duplicate]
I would like to create objects using the fibonacci sequence. such as the following:
I have checked online and saw this add-on https://blendermarket.com/products/fibonarray
It seems kinda outdated and ...
8
votes
1
answer
2k
views
How to find the users of a material?
There are a few materials in a blend file I have that I don't think are necessary in the file. However, none of these materials show up in orphan data. I know something is using these materials ...
-1
votes
1
answer
61
views
A button that revert the current .blend [closed]
How can I create a button that calls "bpy.ops.wm.revert_mainfile()" when pressed?
0
votes
1
answer
671
views
How to Import Blender 3D Models into Webots
I am having trouble importing a Blender 3D Model into Webots. Currently, I am using Blender 2.79 and the most updated version of Webots. I am attempting to import the default cube model, but I am ...
2
votes
1
answer
398
views
Add-on - open_mainfile() always leads to segmentation fault
I've been struggling for making bpy.ops.wm.open_mainfile(filepath=PATH) work properly within an Add-on.
No matter what I do and where I put it, I always get:
...
2
votes
0
answers
31
views
2.8x - Recovering removed properties from 2.7x .blend files
I'm converting an add-on from Blender 2.79 to 2.8x (currently using 2.83.4), and unfortunately it relied on some properties tied to the Blender Internal render engine which were removed in 2.8. I've ...
1
vote
1
answer
324
views
Creating Override Library via script [duplicate]
I've been trying for days to create a script for my addon that does the following things:
Open an existing file A.
Link an existing B file using a Link link.
Create an Override Library on this file.
...