Questions tagged [panel]
A panel is a user interface organization element. It provides categorization by separating displayed elements
230
questions
0
votes
0
answers
12
views
Using .alert = True partially
I am trying to make a button appear red in a panel. I have the following code:
...
0
votes
0
answers
28
views
How to update the texture in the UI when using "template_preview"
I'm using Blender 3.4 and I want to display an image in the UI and be able to change it by pressing a button.
The button using ImportHelper executes this code:
...
0
votes
0
answers
22
views
Access the parent Panel from a context menu?
I have a created a context menu. I'd like to only show this menu when it's called within a specific Panel. How many I get the Panel in which the context menu is being drawn? I have tried ...
1
vote
2
answers
26
views
How to show Edit mode selection panel
For a reason in my Blender 3.3.4 I don't have the Edit mode selection panel anymore when I switch to Edit mode (tab):
https://docs.blender.org/manual/en/2.80/_images/modeling_meshes_selecting_mode-...
2
votes
0
answers
84
views
How can I set the active category in the "N" panel?
I have created a custom panel and when N is pressed on the keyboard in 3d view we get the Sidebar with the Item tab opened by default, but I don't want that. I have also added an operator that does ...
0
votes
0
answers
21
views
Properties don't show up on panel [duplicate]
I was following this tutorial to make a simple calculator in blender (v3.3.1), my code is almost if not completely identical to that of the recording but unlike the tutorial's mine does not seem to ...
0
votes
0
answers
21
views
How to add a subpanel to a panel created by a different addon
I'm trying to add a subpanel to a panel created by a different addon.
Practical example:
I created an addon ("1st addon") that creates a panel in the N panel.
Now I want to develop a new ...
1
vote
1
answer
34
views
Blender outliner Context Menu entry
I want to add an entry in the object context menu of the outliner. I tried with bpy.types.OUTLINER_MT_context_menu with no results.
Any idea how i can do that ?
...
1
vote
1
answer
47
views
How to align label with prop.search in a row?
I have this piece of code here:
...
1
vote
1
answer
35
views
How to define appearance order of items in bpy.props.EnumProperty?
This question has been haunting me for quite a while. I need to set items in Enum in some specific order. Let's say, I have:
...
1
vote
1
answer
68
views
Is it possible to arrange the 2 or 3 items of Enum Property in one row and others is second or third?
I have an enum property that has 6 items and what I want is to arrange the 3 items in one and the other 3 items in the second row. Is it possible to set them?
Here is the code:
...
0
votes
0
answers
36
views
How to add scrollbar in my nested panel and add delete button?
So i have created this custom panel (thanks to people from this community who helps me out tho )which shows list of objects based on the category i have selected from the dropdown ,i want the list in ...
1
vote
1
answer
74
views
How to create a dropdown consisting of object types and display data accordingly the type i have selected?
I am trying to create a basic crud tool in blender and my requirements are create a dropdown on top of the panel and once i select one of the types from the dropdown it shows data below accordingly.
...
0
votes
0
answers
38
views
How to reorder tabs with python?
How to reorder tabs but using python scripting to do so?
0
votes
1
answer
57
views
how to display Modifier panel visible in N-panel?
I want to display the modifier panel in the Npanel,
I have achieved the panel like this, but I cant't display the added modifiers:
This is my code:
...
0
votes
1
answer
39
views
list of scene UI
I want to make list of scenes, and found blender list ui using template_list from How to compile template_list with some object in scene 2.8.
I think it would be possible writing like..
...
1
vote
1
answer
21
views
PropertyGroup Properties do not exist until value is changed in panel
I am having some trouble. Basically, when I load up this script, I see a panel drawn with a simple value that can be changed.
The value shows as expected in the UI, and the propertygroup I see exists ...
0
votes
0
answers
25
views
Is there a way to access N-Panel items without going through the N-Panel menu? [duplicate]
I have over a dozen add-ons that are accessed via the N-Panel. Is there a way to access these add-ons without having to go through the N-Panel?
Like a lot of Blender users, my N-Panel has become messy ...
0
votes
1
answer
206
views
Panel Folder Select and get Absolute path
Trying to let user select the path to the folder they have. I will need that path to attach custom texture images to the object. But all I can get now is
...
2
votes
4
answers
288
views
How to pass text argument to a popover panel?
In the example below I have 3 instance of a same popover panel class
i want to pass a string argument to these panels, so they each display different text, without creating 3 different panel
how can i ...
1
vote
2
answers
126
views
Duplicate whole panel in addon
Does anyone know how to clone an existing panel? Down below there is a partial solution from Jakemoyo ( thanks!), using a popover. But I don't want a popover, I want the original layout, just cloned. ...
0
votes
0
answers
460
views
How do I get the Transform Panel to show?
I've tried Object and Edit mode ... but somehow the Transform panel does not show up - how do I get the panel to show up so that I can numerically enter transform values?
0
votes
0
answers
56
views
undo action is causing blender to crash when changing position value in a custom Panel
I'll be quick:
I created a panel.
I created a column with a prop: the position vector of a given object.
...
0
votes
1
answer
22
views
How can I determine the origin of a property change in a blender panel? [duplicate]
In my register I create the following property:
setattr(bpy.types.Scene, "test_enum", bpy.props.EnumProperty(items=items, update=func1))
and in func1 i ...
0
votes
0
answers
36
views
Dynamically create Enum Property inside a Panel
I'm trying to create a dynamic enun while recursively searching a json inside a panel.
I want to set up my Panel like so:
...
0
votes
1
answer
28
views
Button disappears when object is deleted
I have a panel button that disappears whenever an object (mesh, light, camera etc) is deleted
from the scene. Is there a fix for this?
...
0
votes
0
answers
41
views
Thumbnail selector from file
I'm starting creating some addons on blender
I manage to create the back-end fonction of my addons
But i'm stuck on the front
I want to do a thumbnail selector to select my assets that i want to ...
4
votes
2
answers
316
views
Update Float Property Based on Selected Object
I'm writing an add-on and have a float property which drives the thickness attribute of a solidify modifier for the selected object. Currently, the float property displays the last value assigned by ...
1
vote
0
answers
195
views
How do I pass a CollectionProperty from a Panel to an Operator sto create general classes for UIList
I want to put multiple UILists in my addon. I started off with the example discussed here:
https://sinestesia.co/blog/tutorials/using-uilists-in-blender/
I am storing each list in a scene custom ...
1
vote
1
answer
68
views
How can I update a Panel from an Operator?
I have an Operator that fetches some data on execute. I want to iterate the results, adding rows to the layout of a Panel. I'm stuck on how to give the Operator a reference to the Panel.
...
3
votes
1
answer
288
views
Blender Python Addon doesn't unregister (registers fine)
Disclaimer: I'm new to Blender Python. Thank you in advance for your assistance, and patience. I saw this related question but I'm not sure it applies here.
I am developing an addon with a panel class ...
3
votes
1
answer
246
views
Draw Boolean property as a button without a icon
So here is a example Panel and adding a boolean,
...
1
vote
0
answers
74
views
Hide adjust last operator panel
hello, I want to hide this Adjust Last Operator Panel.
Is it possible?
Many thanks
0
votes
0
answers
103
views
Keyframing geometry nodes with custom properties
I have a problem with geometry nodes and panel. I use context.active_object and if I create many instances with my addon … only the active object gets the effect.
I’m wondering, is it possible to ...
0
votes
0
answers
163
views
How to make a script to import 1 csv file and generate simple meshes on coordinates from csv file
I am very new to scripting. My problem is that I want the panel to look like this:
My code so far looks like this:
...
0
votes
0
answers
128
views
Can you find out the ui panel name a property is listed inside with python?
Say for example, I'm querying the (viewport display) "Color" property inside the "World Properties" tab which is listed inside the panel labelled "Viewport Display" with ...
2
votes
2
answers
112
views
Is it possible to use single pointer to assign on multiple modifers' Pointer Properties at once?
Bear with me, I am still new to python in blender, I apologize, I am not very good with words or is capable of explaining the issues I am having or solutions I am looking for. So instead of struggling ...
2
votes
1
answer
356
views
Display object custom value in the object panel
I'm trying to create some tool for blender that requires to store and show some boolean value for each object.
I have create simple Panel in Object context with one bool property sadly it's not ...
1
vote
1
answer
32
views
The pane on the left of the screen (2.83.18) shrunk while I was concentrating on my model
WHile I was building my model, I hit some hotkey or other, and the pane on the left of the screen shrunk (it shows the icons in Object mode, Edit mode, etc.)
I can now barely read it. The panel was ...
0
votes
0
answers
205
views
How can I call operator methods by changing values in a panel?
Currently I have a script that draws a line strip whose vertices depend on 2 boolean values, controlled from a panel. However, the line is only updated when the operator is invoked.
What I need is for ...
1
vote
1
answer
45
views
Is it possible to load custom fonts for a custom panel only?
I would like to load a custom font specifically for one custom panel. This maybe impossible but I just want to know.
3
votes
2
answers
427
views
How to display a fixed list of RGB values in a panel and when a color is clicked call an operator
For clarity, the previous question I asked was closed so I made this one, its now reopened and both are asking basically the same question.
I have a fixed list of RGB values which I want to display to ...
4
votes
1
answer
146
views
How can I know if a panel is the parent of other subpanels?
One can make a sub-panel to be drawn inside a parent panel using bpy.types.Panel.bl_parent_id.
...
3
votes
2
answers
238
views
show_bones as a Boolean property on custom panel [duplicate]
this is the show_bones property I am talking about
I want Show_bones to be in my panel, I tried many times to get it working.
here was my attempts,
...
3
votes
3
answers
534
views
Display preset RGB values in a panel (and call function when clicked)
For clarity, this question was closed for a while after I added the clarifying statement inside the parenthesis so I created a new question asking the same thing. This question was later opened and ...
2
votes
1
answer
551
views
Disable button when another button has been enabled [duplicate]
So what I need is when Eyes Follow Cam is False then Head Follow cam and Influence is disabled(grayed out)
and when Eyes Follow Cam is True then Head Follow cam and Influence is enabled
Here is the ...
3
votes
0
answers
362
views
How can I make the text of my panel in bold or italic? this is blender python related
Basically what I want is to make my panel header in bold and other text in my panel to be italic.
For example: I want the text 'settings' with the preferences icon to be in bold.
This is the code for ...
1
vote
1
answer
481
views
Create a list to add Objects and Materials [duplicate]
I want to create a panel list where I can add Objects and Materials. The purpose of this list is to bake the actions of the selected objects and materials to be able to export them to glTF.
I already ...
1
vote
2
answers
306
views
What does 'EMPTY' mean as a bl_space_type in bpy.types.Panel?
Short version: What does the bl_space_type value "EMPTY" mean in the context of bpy.types.Panel?
Long version:
I'm ...
2
votes
2
answers
522
views
Hide N-menu panels [duplicate]
Eventually you'll end up with a bunch of addons installed, and they seemingly all add tabs/panels to right side of the 3d view (the panel that can be toggled open/closed with the n key).
I have ~13 ...