Skip to main content

All Questions

Tagged with
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: ...
Kristopher Ives's user avatar
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 ...
Yaroslav's user avatar
  • 293
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 ...
james_t's user avatar
  • 5,819
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, ...
Yaroslav's user avatar
  • 293
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 ...
Yaroslav's user avatar
  • 293
0 votes
0 answers
23 views

Custom icons for radio buttons? BL4

Here's how i create preview collection: ...
AlexSD's user avatar
  • 31
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 ...
Trantor's user avatar
  • 55
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 ...
baby boss's user avatar
  • 115
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 ...
user avatar
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. ...
MisterLBlends's user avatar
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, ...
Grzegorz Krug's user avatar
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 ...
Black Fox's user avatar
  • 188
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 ...
Walter's user avatar
  • 359
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 ...
dval's user avatar
  • 1,160
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' ...
koober's user avatar
  • 51

15 30 50 per page
1
2 3 4 5
12