Questions tagged [panel]
A panel is a user interface organization element. It provides categorization by separating displayed elements
234
questions
0
votes
0
answers
28
views
Registration and Unregistration of custom generated panels isn't working
I made this add-on script that creates panels for each node in the compositor when the button is pressed. However when I install the addon and remove or disable it only the panel with the button is ...
0
votes
0
answers
29
views
Unregister an register panels with python
The following script is part of a bigger addon that creates panels procedurally to a given category. The problem that I am dealing with is that when I remove the addon that also contains this script ...
0
votes
0
answers
15
views
Python-API, custom interface: How do I recreate mesh/vertex data settings from the 3D View sidebar (for example to manipulate vertex group weights)?
I want to use some mesh settings from the 3D view sidebar and put them in a different place for a custom interface. I have already filled the sidebar with different extra buttons and object settings ...
0
votes
0
answers
20
views
How to update panel width immediately
I am creating a popover panel and user is able to change "bl_ui_units_x" value from the Addon Preferences window. Everything works as intended, however if user changes panel width with a new ...
0
votes
0
answers
71
views
Sidebar "Item" Tab has Disappeared
I've been using Blender for a couple of weeks now, and things have been going well until today when the "Item" tab in the sidebar suddenly wasn't there any longer. (See screenshot)
I've ...
1
vote
0
answers
17
views
It is possible to insert specific space/region within a panel?
my question consist if it is possible to add a preview of a certain region or space to be able to visualize it inside a panel as I show in the following image:
0
votes
0
answers
18
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
48
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
29
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
32
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
122
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
31
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
60
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
78
views
How to align label with prop.search in a row?
I have this piece of code here:
...
1
vote
1
answer
52
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
105
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
39
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
100
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
44
views
How to reorder tabs with python?
How to reorder tabs but using python scripting to do so?
0
votes
1
answer
81
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
49
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
37
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
280
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
373
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
145
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
816
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
99
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
32
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
43
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
34
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?
...
4
votes
2
answers
332
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
218
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
88
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
346
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 ...
4
votes
1
answer
303
views
Draw Boolean property as a button without a icon
So here is a example Panel and adding a boolean,
...
1
vote
0
answers
97
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
189
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
133
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
119
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
407
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
35
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
237
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
47
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.
4
votes
2
answers
504
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
181
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
255
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
632
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
695
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 ...