All Questions
556 questions
0
votes
0
answers
20
views
Why does Blender call the IntProperty update callback three times?
I have an update function for my IntProperty:
...
1
vote
1
answer
43
views
Problem with unregistering PropertyGroups
I had a complex code, which failed. To test things out I simplified it to this:
...
0
votes
2
answers
39
views
Handler in load_post not called When Using bl_info Header in Addon
I'm trying to execute automatic actions after an addon starts. When starting test addon with Visual Studio Code (VSCode) and including the bl_info header in my ...
3
votes
0
answers
24
views
How to Set a Custom Label for the Export Button in File Dialog?
Is there a way to customize the export button label in the File Dialog? Currently, the button always uses the bl_label of the operator, but I’d like to set a ...
1
vote
0
answers
59
views
How to view operator's DEBUG reports?
I can't figure out how to view the DEBUG reports generated by calling self.report({'DEBUG'}, 'DEBUG') in an operator.
Steps to reproduce:
Launch blender with the ...
0
votes
0
answers
17
views
Adjust Last Operation Panel Not Showing When Using Operator Poll Method with Mesh Object Check
I have an operator that creates bones in an armature, where each bone's tail points
toward a random vertex on a selected target mesh object. The operator works as expected,
and I can adjust the number ...
0
votes
1
answer
78
views
bpy.app.handlers.depsgraph_update_post.remove throws ValueError: list.remove(x): x not in list
I'm running the following code as part of addon in the __init__.py file. I'm trying to remove a handler that I added to ...
0
votes
0
answers
33
views
get bl-label and bl_category from external file
I'm trying to get my add-on preferences from external json
Starting from bl_label and bl_category in order to TD personalize the visible "name" of the addon, not the real one.
But I couldn't ...
6
votes
1
answer
123
views
Any way to get the data(or name) of right-clicked workspace tab?
Blender lacks the functionality which would allow to rearrange workspace tabs easily.
Hence I've made the addon, which allows to do that.
At this state my addon can move the active tab to any position ...
0
votes
0
answers
31
views
Making an add-on - Notification system setup
I am trying my hands on my first add-on for blender. It currently creates incremental saves of a project into a predetermined location in a predetermined interval. As of right now the backup ...
3
votes
1
answer
104
views
Any difference between context.object and context.active_object?
There are two similar context-related variables:
bpy.context.active_object
bpy.context.object
I don't see ANY difference ...
2
votes
1
answer
72
views
Display image in addon
I was trying to display an image inside an addon.
to display the image I'm doing:
layout.template_preview(img)
but the image is not displayed. I'm using blender 4.2 ...
0
votes
1
answer
89
views
Custom Blender Addon: How to make an input prompt?
How can I pop up an input prompt in my blender addon that asks the user to enter a text that is then used as a variable?
Basically what you would only do with Python:
...
0
votes
0
answers
129
views
Blender plugin importing UVs Wrong - Marvel Guardians of the Galaxy model import plugin (*.pc_prim)
I recently started import Marvel GotG models but whenever I import (Blender 2.9 - 3.3.5 or any other version) the model looks perfect but the UV is wrong. Only 1 UVMAP
...
0
votes
1
answer
17
views
Creating a Selection Box that selects a PropertyGroup item from a CollectionProperty
trying to follow the below link to make a selection box appear in the draw method that lets the user pick an item from a defined CollectionProperty, it works for the 'type=bpy.types.Object' but when I ...