Skip to main content

All Questions

Tagged with
-1 votes
1 answer
60 views

My Blender 4.1 whit error AttributeError: 'bpy.app' object has no attribute 'version_char' [closed]

is this : Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\modules\addon_utils.py", line 376, in enable mod = importlib.import_module(...
Paulo Petris's user avatar
2 votes
1 answer
31 views

How to avoid persisting bpy properties to .blend files

I have a few operators that are effectively batch scripts that perform bulk operations on objects in a scene or .blend file. Each operator is a one-shot thing that has no need for the followup ...
Foxcapades's user avatar
0 votes
1 answer
65 views

How to reload UI without restarting Blender

I'm writing addon which edits default UI. To be specific - it works with VIEW3D_MT_mesh_add The functionality I need goes beyond standard ...
Yaroslav's user avatar
  • 555
4 votes
2 answers
498 views

Placing 3D cursor using python

I want to place an object where the cursor is using python. So I need a script that place the 3D cursor where I have the cursor at that moment and then place the already selected object there. To do ...
Víctor GV's user avatar
1 vote
1 answer
26 views

Is there a way to create a colored text box for StringProperty in addon UI, like the overwrite warning in Blender save-as window?

To store a user setting, I managed to access a StringProperty in my addon popup window like this: But i want to add an overwrite warning as same as the blender file save window: Is there a way to do ...
Trantor's user avatar
  • 45
0 votes
1 answer
24 views

Blender Addon Question - Change World Color

Is there a way to add an option to change the World Surface Color and Strength settings via a button? I already coded out the panel and everything, but maybe it's just based on the specific context, ...
FrostByte Studios's user avatar
0 votes
0 answers
32 views

How can I prevent operator from blocking Blender Interactions during execution?

I'm new to Blender Python programming, and for a personal project, I'm experimenting with creating a Blender Python addon. I aim to execute an asynchronous GET request when I select a button in a ...
kernage's user avatar
0 votes
1 answer
68 views

Transfer (float) vertex-attribute to vertex-weight, to allow GeoNodes to control subsequent Armature binding

In Blender 4.1 or higher, I want to write a custom modifier, which transfers values from a vertex attribute (on geometry generated by geonodes) to a vertex group (usable with other modifiers). This is ...
Mark K Cowan's user avatar
0 votes
0 answers
28 views

How can I add a FloatVectorProperty to my addon layout? [duplicate]

How to properly register a FloatVectorProperty? When I do: box.prop(self, "amb_day_color") where ...
Oleg Kivasev's user avatar
0 votes
1 answer
67 views

Blender 4.1 addon to add time to rendered file names

I'm trying to make an addon for Blender 4.1 that adds current seconds to rendered file name. We need it for our workflow when rendering overnight, to check later which frames had the biggest gap ...
Matt's user avatar
  • 3
0 votes
0 answers
18 views

Can't use Cython to compile the Core Library of GeomDL or PyMcubes using --install-option="--use-cython" since "--install-option" is depreciated

I am trying to install Cython compiled versions of GeomDL and PyMcubes packages into Blender 4.1's shipped embedded python (...
fmotion1's user avatar
  • 1,433
4 votes
1 answer
129 views

How can I expose Geometry Nodes properties in my addon panel?

I came across this question and learned that I can actually expose properties from the Blender UI in my addon panel. So I was experimenting on exposing properties of modifiers like for example the ...
Harry McKenzie's user avatar
3 votes
1 answer
82 views

How can I pass an object (like a bmesh) to an operator or should I not do that?

I have an operator that creates a certain mesh but I want to keep things modular so I separated each operation into its own operator. Like for example, I have an operator that removes vertices that ...
Megan Love's user avatar
2 votes
1 answer
32 views

multi-file add-on cannot find import

I am working toward have a multi-file add-on, as our add-on is getting pretty long. I'm starting with a trivial example to build up from and can't even get that to work. I have two files at top level ...
Janet Rossini's user avatar
0 votes
0 answers
26 views

How To Capture Mouse Movements During Blender Operations

I'm looking to capture mouse movements while using specific Blender operations, such as ...
Axel Olsson's user avatar

15 30 50 per page
1
2
3 4 5
81