Skip to main content

All Questions

Tagged with
2 votes
0 answers
20 views

How to Get All Possible Values of an EnumProperty in Blender Python [duplicate]

I'm developing a script where I need to retrieve the available values of some EnumProperties in Blender. I found a similar question already answered here. However, ...
RodrigoGama's user avatar
3 votes
2 answers
77 views

Interface Panel not Updating correctly

i'm currently trying to add presets to the addon i'm developing, while creating and loading those presets works fine, updating the values in the panel that the properties are used in does not work in ...
Chris's user avatar
  • 865
0 votes
1 answer
47 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
  • 543
0 votes
0 answers
24 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,549
3 votes
2 answers
110 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
  • 543
1 vote
0 answers
28 views

How can I determine if the Dope Sheet menu state is expanded or closed via Python?

Is there a way I can access certain UI elements through a script in Blender? I am trying to access information within the Dope Sheet Editor. One thing I would like to achieve is to determine if a menu ...
Axel Olsson's user avatar
2 votes
0 answers
19 views

Draw object selector property without drawing entire pointer property button

I want to draw just the datablock selector button from the pointer property ui: I tracked the operator down to bpy.ops.ui.eyedropper_ui, but when I draw it in a ...
Strike Digital's user avatar
0 votes
1 answer
64 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
  • 543
1 vote
1 answer
37 views

How to Align Icon to the Right in Blender Panel Header using python?

I’m trying to customize a panel using python in Blender 4.1, and I want to align an icon to the right side of the panel header. (like this) I’ve tried a few approaches, but I can’t seem to get it ...
VxQtW-1's user avatar
  • 13
1 vote
1 answer
19 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
  • 13
1 vote
1 answer
73 views

UIList with checkmarks (one on all others off)

I have an UIList in which I display a PropertyGroup defined like this: ...
Steve's user avatar
  • 460
0 votes
0 answers
42 views

Add icons (properties/operators) to Blender's Outline?

I'm trying and wondering if its possible to add new icons (to trigger properies or operators) in the Blender's Outline showing all the objects in the scene. I mean adding new properties/operators in ...
Ommadawn's user avatar
  • 668
0 votes
1 answer
51 views

Variable length list in Preferences (displayed as UI List with a selection checkmark)

I would like to have a list in the preferences of my Add-On where the content of the list is read from a file. (And therefore the length of the list is not known.) In this list I would like to have a ...
Steve's user avatar
  • 460
1 vote
2 answers
44 views

How do I customize the draw_item method in UI List

I created a ui list in which each item in the list has 3 properties--name, type, and number. In the list in my panel, I would like to have the type and number, but not the name. Here is my Python ...
SJK's user avatar
  • 181
0 votes
1 answer
78 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

15 30 50 per page
1
2 3 4 5
42