All Questions
292 questions
3
votes
1
answer
27
views
How to Display Information on the Status Bar Using the Blender Python API? [duplicate]
I want to display some information on the Status Bar (at the bottom left corner of the Blender interface). How can I do that using the Blender Python API?
1
vote
0
answers
29
views
What's the purpose of a collection for Window Managers?
Do I understand correctly that it's possible to exist only for a SINGLE Window Manager in .blend file ?
If that's true, then for what purpose does exist the COLLECTION for Window Managers ?
By the ...
2
votes
1
answer
51
views
Is there a normal / light direction UI layout template?
I have a FloatVectorProperty that stores a normal. I'd like to visualize and make it editable with an editor similar to the "Light Direction" available in ...
1
vote
1
answer
30
views
How to set Viewport Shading Wire Color to Object via Python?
How to set Viewport Shading Wire Color to Object via Python? When I right click on the Object button
And do Copy Full Data Path, it gives me:
...
1
vote
0
answers
25
views
How to create a persistent floating window that remains until a button closes it
I've managed to create a window in Blender full of controls, however the only issue is the window closes if I click outside it. I need to to remain on screen until a 'close' button is clicked.
My ...
0
votes
0
answers
19
views
How to insert popover menu in existing blender UI controls?
I am able to draw popover menu at header section by appending/prepending.
but I want to draw it in existing controls of blender like viewport shading as highlighted in red in below screenshot.
The ...
4
votes
1
answer
65
views
force TOPBAR_MT_editor_menus redraw
I added a small play button and a frame_current display in the top bar. The issue is that the frame_current only updates when I ...
1
vote
0
answers
25
views
Insert Operator Button into Modifierpanel
i'm trying to add a small operator button, or property into one of the modifier panels, has anyone experience in doing so? Is it even possible at all? (rough example)
I just can't seem to get it to ...
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 ...
4
votes
1
answer
219
views
Any way to get UI order of workspaces using Python?
Workspaces while being displayed in UI have different order comparing to while being stored in bpy.data.
For example, UI order is ["Workspace 2", "Workspace 3", "Workspace 1&...
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:
...
4
votes
1
answer
173
views
Dropdown enum not changing
I am trying to change a dropdown programatically. In some experiments that I have made, it changes in the terminal, but wont change in the UI.
I want to change the dropdown from showing "2" ...
3
votes
1
answer
270
views
Hiding all UI elements within a blender window with the python API
I am trying to create a Blender window that has no UI elements, only the 3D Viewport. Specifically, I want to remove the top bar. Is it possible to do this using the Python API?
0
votes
1
answer
68
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 ...
3
votes
2
answers
195
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, ...