All Questions
170
questions
0
votes
0
answers
15
views
How do I close an area using Python in Blender 4.1? [duplicate]
I want to close a panel from within my Python addon. Existing questions and answers seem to yield results that no longer work as they are very dated. The suggested code to run is:
...
0
votes
1
answer
60
views
How to change exporting scale using Python?
When we export an .stl via File>Export>STL - we see a window which has a Scale variable.
This one:
• This variable is named ...
0
votes
0
answers
40
views
Show context menu addition only for object custom properties?
I am looking for a bpy.types.?????_MT_context_menu (or similar) so that I can insert an item Copy Color Property as new Driver for a script that will help me past ...
3
votes
2
answers
165
views
How to reload ONE particular UI script? (an alternative to 'Reload Scripts' )
My add-on edits Blender's UI scripts.
To apply changes to UI - edited scripts should be reloaded.
For this purpose I use bpy.ops.script.reload()
It does the job, ...
0
votes
1
answer
78
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 ...
0
votes
0
answers
23
views
Custom icons for radio buttons? BL4
Here's how i create preview collection:
...
1
vote
1
answer
82
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 ...
4
votes
1
answer
89
views
Unable to Access exposed Material Input in Addon from Geometry Nodes Modifier
I'm exposing the input to a Set Material geometry nodes modifier property in my Addon UI through layout.prop(), similar to what was done in this thread. All the ...
0
votes
1
answer
104
views
panel_prop Boolean Property from property group resets automatically to default value without throwing errors
the goal was to simply have a bool value to change whether or not to show a custom panel with additional settings or no, it is modifier specific the first thought was simply register it on ...
3
votes
2
answers
177
views
Why is my Stretch-To update button looking for Grease Pencil in Blender 4?
I've been trying to make a button to reset all the stretch-tos in my custom armature as per this question, but my previous menu work has all been in a new menu section in the sidebar of the 3D view.
...
0
votes
1
answer
56
views
X Ray Transparency keeps reseting
I like more visible x ray, but it just keeps reseting to 0.5 for no reason.
I got few addons installed but I don't think that is the case... maybe not?
Need help, maybe there are some settings for it, ...
0
votes
1
answer
28
views
Themes - Change bubbles to checkboxes?
In blenders default themes, the toggles are represented by checkmarks with colored backgrounds. In my custom theme, I only have bubbles without any checkmarks.
Where is the setting I can change to ...
2
votes
0
answers
148
views
Custom Blender Python icons with adjustable colours
I am writing a Blender add-on and I want to add a custom icon into the UI panel.
I can do this with bpy.utils.previews, but it seems to only want PNG files so if I ...
2
votes
2
answers
698
views
Export curves to SVG missing in 4.0. Is there an alternative workflow?
Is this a bug or some feature that I haven't read about? In 3.6 and earlier there is the menu option to export curves to SVG. It's gone in 4.0 and I can not find any addon that the option is attached ...
0
votes
1
answer
72
views
Minimal object add-on UI with sub-meshes and Redo
I finally have this working UI, after exploring many rabbit-holes, so wanted to share it in the hope of improving its performance.
Follow-up to this question.
The key goal is to preserve the 'redo' ...