Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [panel]

A panel is a user interface organization element. It provides categorization by separating displayed elements

Filter by
Sorted by
Tagged with
1 vote
1 answer
34 views

How to exposure render settings to addon panel?

I want to exposure render settings, specifically, Frame Rate, Resolution X and Resolution Y to my addon panel for convenience, I tried: ...
baby boss's user avatar
  • 125
1 vote
0 answers
19 views

Which way to dynamically change the content of the panel is better:: if-else or subpanels_with_poll?

I want to dynamically change the content of the Panel.(Template_icon which depends on selected object) I found two ways to do this. if - else ...
Cyril's user avatar
  • 21
1 vote
1 answer
19 views

Adding a color field in the addon Panel

I wanted to add a color field to my Blender addon panel, with which I can adjust the color input of a Principled Volume node. But i´m struggling, how I can insert such a color field there and ...
VICUBE Animation's user avatar
4 votes
1 answer
144 views

How to validate a float input to 2 precision in panel?

I'm trying to validate the inputs in a FloatProperty and make sure precision is always up to 2 decimal places. Apparently ...
Megan Love's user avatar
3 votes
2 answers
136 views

How to add click event listener to button operator?

How do you add a listener to a button? I need to handle something in the panel once a button is clicked but I don't know how to add this click event listener. import bpy ...
Megan Love's user avatar
0 votes
0 answers
29 views

row.operator() pass an argument to the called function [duplicate]

I had this working for Blender 2.x long ago but I'm unable to get that old script to work in 3.x and 4.x. All I want to do is create a panel with buttons. The buttons, when clicked, do execute the ...
NoRev's user avatar
  • 1
0 votes
1 answer
36 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
  • 658
0 votes
1 answer
67 views

Create a custom UI for assigning textures to objects

I'd like to create a custom user interface for assigning textures/images to a custom object type. So far I managed to create a file selector. However, I can't seem to find a way to create and update a ...
Midas's user avatar
  • 125
1 vote
0 answers
30 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
  • 658
1 vote
0 answers
49 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
  • 658
0 votes
1 answer
29 views

How can I add custom section panel to the Texture Paint Properties?

I’m trying to add custom panel to the Texture Paint tools on the Properties tab, it’s suppoesd to be a simple task, but from some reason it’s doesn’t really work. I think the problem is on the ...
Golden Dragon's user avatar
0 votes
0 answers
17 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
  • 658
1 vote
0 answers
32 views

Iterate over all panels in screen?

I have a timer that is running in the background. I'm trying to identify the running operator by its panel, so when that operator's panel goes away, I execute some code. I thought about iterating all ...
Ommadawn's user avatar
  • 658
1 vote
0 answers
28 views

Is it not possible to store UI-related variables in the Panel itself?

I'm making a custom panel for a pet-project, very new to Python and Blender. One thing I noticed that in all example panels I can find, all input is stored in global objects, like scene object. I ...
Emrah 'hesido' Baskaya's user avatar
0 votes
0 answers
53 views

How to create a group of property groups?

I need to create various kind of materials, so I made myself an add-on to make it easier. But I have like two dozens of kind of materials, declined with hundreds of colors. Until now, i made it up ...
Jean506's user avatar
1 vote
1 answer
46 views

Dynamically adding/deleting foldable panels

I created a panel called "Platforms", which displays some information. In that panel, I have an "Add" operator, which creates expandable rows (which can all be individually deleted ...
aheuchamps's user avatar
0 votes
0 answers
60 views

N Panel tabs sidebar to fill vertically

In Blender 3.5 my many add-on tabs in the N-Panel sidebar filled the vertical space (reducing the names/labels of each tab to fit). Upgrading to 3.6 it seems this is no longer a feature and the tabs ...
user3247041's user avatar
1 vote
1 answer
82 views

My UIList does not scroll down in version 3.3.6

I wrote an addon with several UI Lists. In Blender 3.2, I had no trouble scrolling down the list if it became longer than the box on the screen. However, I recently switched to Blender 3.3.6 and I ...
SJK's user avatar
  • 181
1 vote
1 answer
145 views

How to show Adjust Last Operation panel when adding primitive via Python?

When I add an primitive via Python by using the following code: ...
Lala_Ghost's user avatar
0 votes
1 answer
67 views

multiple template_preview flickering issue

I have been working on a panel that contains a list of textures and additional information. This is for rendering a garment with multiple textures. The main idea is to facilitate non-3D users to load ...
Sharl's user avatar
  • 89
3 votes
0 answers
21 views

Make odds and even rows in UIList with a different color? (Kind of 'Zebra' style)

I was wondering if this is possible to achieve (and if so, how): (Notice the slighly more brilliant even rows) Is just a template_list with an ...
Ommadawn's user avatar
  • 658
5 votes
2 answers
284 views

How can I get the class name of a panel where a button is pressed?

At the moment this addon makes a custom panel with only one button that prints "Active Panel IDName:", but how can I pass the class panel where this button was pressed? Is there a way to get ...
Forge Gabriel's user avatar
0 votes
0 answers
74 views

Close popover panel when button (operator) is pressed?

Basically what the title says. After pressing a button/operator in a popover panel, I would like to close it. I have no idea how, and I wasn't able to find anything in the manual. I made a litle ...
Ommadawn's user avatar
  • 658
1 vote
1 answer
69 views

How to avoid drawing an UIList item in draw_item?

I have an UIList drawing a collection of items. When those items have a property (bool) draw_in_ui set to False, I would like to avoid it from drawing in draw_item() function: I thought about ...
Ommadawn's user avatar
  • 658
0 votes
0 answers
24 views

Editing Vertices, Edges, & Faces in Edit Mode

I have a FloatProperty that I'm displaying in a Panel in the VIEW_3D. With its get and set ...
Dr. Pontchartrain's user avatar
0 votes
0 answers
97 views

How i can add rigify side panel?

In blender 3.6 rigify side panel (n) which contain ik is missing and also there is no script found to run..
HTH2900's user avatar
0 votes
0 answers
39 views

How to draw surface and image texture buttons on the custom panel

how to draw this button on the custom panel and this: I was able to draw it on my panel, but it doesn't change the texture
Solum Night's user avatar
0 votes
0 answers
2k 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 ...
Jenni Merrifield's user avatar
1 vote
0 answers
21 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:
Melocompae's user avatar
1 vote
1 answer
243 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: ...
Philipp Köhler's user avatar
0 votes
0 answers
82 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 ...
Dr. Pontchartrain's user avatar
1 vote
2 answers
225 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-...
Mark's user avatar
  • 229
3 votes
0 answers
318 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 ...
Muzammil's user avatar
  • 838
0 votes
0 answers
24 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 ...
Daniel Fernández's user avatar
2 votes
1 answer
170 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 ? ...
Revln9's user avatar
  • 227
1 vote
1 answer
222 views

How to align label with prop.search in a row?

I have this piece of code here: ...
Chris's user avatar
  • 61.4k
2 votes
1 answer
124 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: ...
Andrey Sokolov's user avatar
2 votes
1 answer
367 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: ...
Muzammil's user avatar
  • 838
0 votes
0 answers
84 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 ...
Kartikey Sinha's user avatar
1 vote
1 answer
233 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. ...
Kartikey Sinha's user avatar
0 votes
1 answer
240 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: ...
liuran's user avatar
  • 15
0 votes
1 answer
74 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.. ...
Youdi's user avatar
  • 65
1 vote
1 answer
137 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 ...
NC_Sketchy's user avatar
0 votes
0 answers
26 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 ...
WilburPost's user avatar
  • 1,067
0 votes
1 answer
534 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 ...
Blender_noob's user avatar
2 votes
4 answers
564 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 ...
Fox's user avatar
  • 1,922
1 vote
2 answers
273 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. ...
radoo's user avatar
  • 355
1 vote
1 answer
4k 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?
ina's user avatar
  • 121
0 votes
0 answers
164 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. ...
OmarS's user avatar
  • 1
0 votes
1 answer
88 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 ...
Cole's user avatar
  • 51

1
2 3 4 5 6