Skip to main content

All Questions

0 votes
1 answer
48 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
  • 555
3 votes
2 answers
116 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
  • 555
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
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
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
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
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
  • 648
2 votes
1 answer
89 views

How to make popup auto adjust width?

I want my popups to be wider to fit the label but it seems it is limited to this width as shown with a label with ellipsis. How do I make it wider? I tried ...
Spammer's user avatar
  • 446
3 votes
1 answer
61 views

How can I display a bpy.types.Text custom properties in the interface?

Re an interesting question in another Q&A : https://blender.stackexchange.com/a/315212/86891 bpy.types.Text, which inherits bpy.types.ID, supports custom properties. It is possible to access, read,...
Gorgious's user avatar
  • 31.6k
0 votes
0 answers
26 views

Blender crash after closing area from python script

I'm working on a contextual script for 3D_VIEW that shows a popup panel with different properties/buttons/operators. One of the buttons calls the operator to close the area in which the script was ...
joaulo's user avatar
  • 197
0 votes
1 answer
53 views

Is possible to execute an operator (OT) from code and SHOW its UNDO panel?

Hello folks I'm trying to execute an operator from code (like calling bpy.ops.my_operator()) and I'd like to show its UNDO-REDO panel. (The OT's panel is showing as ...
Ommadawn's user avatar
  • 648
0 votes
0 answers
50 views

Showing (and modifying) a Color Ramp in addon's menu?

I've seen this post from 9 years ago and I'm asking it again because is possible that things have changed (I hope) when it comes to work with color ramps. I'd like to display and modify a color ramp ...
Ommadawn's user avatar
  • 648
1 vote
0 answers
33 views

Do not show X (clear button) in prop_search?

I'm making an operator that uses the UNDO panel. In that panel, I'm showing a prop_search to select a vertex group: The problem: I've found that X button that ...
Ommadawn's user avatar
  • 648
1 vote
0 answers
73 views

How to execute a code after an operator has been executed?

My problem: I need to execute a code after an operator has finished. The operator is a non modal operator with the UNDO option to show the operator menu with its ...
Ommadawn's user avatar
  • 648
0 votes
0 answers
21 views

Drawing folding/collapsible sections in an Operator's Undo panel?

I'm making an operator that is getting big in terms of properties and options. I thought about separating those properties into different kind of tabs that depending the selection, X or Y properties ...
Ommadawn's user avatar
  • 648

15 30 50 per page
1
2 3 4 5
19