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
0 answers
18 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
  • 488
1 vote
0 answers
24 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
21 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
39 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
40 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
39 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
  • 117
1 vote
1 answer
52 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
42 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
20 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
  • 488
5 votes
2 answers
228 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
41 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
  • 488
1 vote
1 answer
40 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
  • 488
0 votes
0 answers
21 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
56 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
31 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
36 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 ...
Erasers45-Studios's user avatar
0 votes
0 answers
57 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 ...
Erasers45-Studios's user avatar
0 votes
0 answers
21 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 ...
Wäsch's user avatar
  • 103
0 votes
0 answers
53 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 ...
moel's user avatar
  • 11
0 votes
0 answers
607 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
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:
Melocompae's user avatar
0 votes
0 answers
35 views

Using .alert = True partially

I am trying to make a button appear red in a panel. I have the following code: ...
moel's user avatar
  • 11
1 vote
1 answer
120 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
56 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
75 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
  • 205
2 votes
0 answers
214 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
  • 788
0 votes
0 answers
22 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
0 votes
0 answers
36 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 ...
Vic Marco's user avatar
  • 291
2 votes
1 answer
117 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
  • 217
1 vote
1 answer
137 views

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

I have this piece of code here: ...
Chris's user avatar
  • 54.3k
2 votes
1 answer
90 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
1 vote
1 answer
223 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
  • 788
0 votes
0 answers
63 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
153 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
157 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
  • 11
0 votes
1 answer
67 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
89 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,035
0 votes
1 answer
418 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
479 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,872
1 vote
2 answers
224 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
  • 345
1 vote
0 answers
2k 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
146 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
65 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
  • 41
0 votes
1 answer
39 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? ...
Increality's user avatar
4 votes
2 answers
379 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 ...
Chris E Kinch's user avatar
1 vote
0 answers
286 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 ...
SJK's user avatar
  • 117
1 vote
1 answer
120 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. ...
Kevin Curry's user avatar
3 votes
1 answer
482 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 ...
Tyler's user avatar
  • 576
4 votes
1 answer
445 views

Draw Boolean property as a button without a icon

So here is a example Panel and adding a boolean, ...
Yuneth Alwis's user avatar

1
2 3 4 5