Questions tagged [panel]

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

66 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
54 views

Display Rounding

This is a minor thing but I am taking a video training course and noticed that, in the video training the value displayed in the dimension panel was 2.104m when 2104mm was entered. This is what I ...
3
votes
0answers
252 views

Can I create a tree view similar to the outliner one with python?

That is the question: Can I create a tree view similar to the outliner one with python? The thing is that I want to structure some lists (arrays of objects) as tree-nested arrays, so they could be ...
2
votes
0answers
16 views

Is there a template or something similar to draw any node in the ui panel?

I state that I am able to draw a UI panel with default_value etc. input nodes But seeing that there is a widget called template_color_ramp I can draw my node in ...
2
votes
1answer
141 views

How to get the Transform panel to show up again in Video Sequencer?

You know anytime you Move, Rotate or Scale something in the 3D Viewport, a box pops up in the lower-left corner that shows how much and by what axis you did the transformation? This is super handy ...
2
votes
0answers
96 views

Can I set region width with python?

I can get TOLLS width with code: for region in bpy.context.area.regions: if region.type == "TOOLS": print(region.width) break I can't set it ...
2
votes
1answer
122 views

How to specify the size of a text box in a panel?

Please consider the following image: The text box with the value "127.0.0.1:56661" is just too big, it occupies a considerable percentage of the row in the panel leaving small space for the label "...
2
votes
0answers
359 views

How to add slider for a custom property of an operator

In these days I have been checking how to create add-ons for Blender. One of the first things I have tried is to create a panel that displays an operator. The operator has a custom property that I ...
2
votes
0answers
52 views

running a working script from a GUI Button

I'm working on a script for creating Bravais-grids in Blender. The script works just fine when i run it from the text editor, but when I try to run it from the GUI I wrote it crashes within the grid ...
2
votes
0answers
517 views

changing value for multiple objects

i'm trying to make a panel grouping some button changing the display of object in the viewport (wire , subsurf optimal display, smooth shading). It works "ok" for one object, but i'm trying to make ...
1
vote
1answer
28 views

Identical nodes

I have added in a panel the possibility to change the image of a specific Image Texture shading node using ...
1
vote
0answers
22 views

Numpad Buttons Panel

A question arose recently regarding the numpad. Below is the code that produces panel shown in the image Have used a 3 column column flow and added the extra row and column with double sized keys. ...
1
vote
0answers
9 views

How to make a text box active(Similar to rename by F2) in blender python?

I have a panel that pops up when a user presses some shortcut key and the panel has one text box(row.prop(....)).Now i want to make the text box active so that when the user presses the shortcut key ...
1
vote
0answers
76 views

Texture tab/properties panel missing 2.82/2.91

Texture tab/properties panel is missing. When I open a new file, it's there. It's definitely something to do with the file, because it's the same story after opening this file in 2.91 and 2.82. Also ...
1
vote
0answers
30 views

Draw existing panel in pie menu

I seem close but can't quite figure out how to draw an existing panel, in this case "VIEW3D_PT_sculpt_context_menu" in a pie menu. using ...
1
vote
0answers
142 views

Python- Panel and Redo Panel Hooks and Method

i'm using 2.83.4 and if someone could point me to a tutorial on hooking controls from a panel and how to get the redo panel to work right, that would help immensely! HalfKill is basically the same as ...
1
vote
0answers
64 views

How to remove a custom draw function from the Top Menu?

I've added a checkbox to the custom Blender UI Panel with a function assigned to it which is being executed on every checkbox update. The idea of that function is to extend Blender Top Menu with the ...
1
vote
0answers
47 views

Checkbox array functioning as one. How do you separate the checkboxes

I trying to see if this is possible. I want to have the ability to choose which frames to re-render with checkboxes. First issue I am having is that the checkboxes active and de-active together. I ...
1
vote
0answers
19 views

Can't set keyframes from custom operator panel

It's a floating Operator like this With use_property_decorate and use_property_split enabled, the 'Animate Property' dot does nothing. Clicking it will immediately gray out. Right-clicking on the ...
1
vote
0answers
56 views

Why in some cases my icons disappear from the panel?

The code shown here is essentially what I am using to load the icons contained in the path of my addon. It is not the first time that I use this method, and it has never bothered me until now. However,...
1
vote
0answers
18 views

Can a ouliner operator be placed in an custom Panel

bpy.ops.outliner.orphans_purge() to put it onto a button into a custom panel- but that button is grayed out... this is how it looks like: ...
1
vote
0answers
68 views

button switch properties constraint

I want to do switching between FK / IK using the button, not a slider, and do this in the form of a 2 button ( fk and ik) Pressed fk button - value 1 in the constrain copytransform fk (copytransform ...
1
vote
0answers
58 views

Making a custom list of Kinect Data for later assignment

I am adding Kinect data capture into a MakeHuman Blender add-in, through a small .dll I have written. I am getting data (JSON text) fine, which I hope is close to being correct. The REALLY great ...
1
vote
0answers
240 views

Use internal images in template_icon_view

I'm trying to fill a template_icon_view with Blender's default brushes, here's the code: ...
1
vote
0answers
158 views

Set the units of slider property to m instead of mm python

I'm using the location property as shown below but wonder how I can control the units when dragging the slider? Currently when I drag it, it moves in mm as this is my scene unit, is it possible to set ...
1
vote
0answers
75 views

Can a Panel nest another panel?

How possible is to fold and unfold a panel on the TOOLS region that reveals other panels? like cascading panels: (panel) Geometry>> (subpanel1)GET> (subpanel2) CURVES> (...
0
votes
0answers
11 views

IntProperty Context Menu

I'm using a template list for a collection of items in my addon's N-Panel tab. The template list requires an IntProperty as the index which works great. However, when I right click on any item in ...
0
votes
0answers
35 views

Is it possible to add a dialog box which can change or open font for text?

I want to make a text button in my add-on panel. When I press on it, it needs to show a dialog box which I can change or open font in computer Not only changing extrude, scale of text, like an example ...
0
votes
0answers
28 views

API/Python - Referencing a class from a different Python file

I would like to know how reference a Class created in a separate Python file. I'm working on an add-on that will let people create custom models using designs I've sculpted. I have a custom UI with ...
0
votes
0answers
19 views

Calling subprocess python function in a panel draw?

Within my Panel class for an addon I am trying to update a label based on a function that runs a subprocess.run with a cmd line argument. At the moment I'm calling the function in the draw() which ...
0
votes
0answers
16 views

How to create multiple classes from a List

I'm making a program that generates random bases for 3D printed miniatures and figurines. Basically, I have a number of different terrains I import then randomly scale to form the main part of the ...
0
votes
0answers
12 views

Is there a way to optimize tool panel?

I have too many addons so there are many tabs in the tool section. I would like to organize those somehow
0
votes
0answers
37 views

Adding custom property to object

I am trying to add a custom property to my panel. The custom property should look like the ones for scaling the object (sliding bar). Here below my code so far. As you can see, I managed to implement ...
0
votes
2answers
34 views

“panelized” procedural material

i'm working with a rust procedural material from another tutorial. I need each panel of my mesh to display an instance of the material, rather than having it connect across edges. That is to say, how ...
0
votes
0answers
91 views

How can I change the order of N-Panel tabs?

I want to be able to re-order the items and add-on tabs in the N Panel. For example, I use the add-on "Asset Management" a lot, so I would like it to appear first or second in the panel. How ...
0
votes
0answers
85 views

bpy.types.PropertyGroup properties not updating when changed in Redo Panel

EDIT So after some more reading I now have the following, but still cannot modify any of the values... ...
0
votes
0answers
40 views

Blender output to 'INFO' panel

I have two operators which is subclass of Operator first draw dialog window and has button which call the second operator with ...
0
votes
1answer
134 views

Python UI show value in panel after generation random property

Help me please to translate generated random values in integer panel property. I understand that the execute function create a new object every time, but for this simple example will be fine if the ...
0
votes
0answers
15 views

Material Preview Doesn't Update in Custom Panel

I'm trying to get Material Preview out of the Custom Panel, but it doesn't update when I change Materials? can anyone help me? ...
0
votes
0answers
54 views

Why can't I create new window

Here is a screenshot of my screen. I have been trying to drag a window for a timeline for a while and can't seem to be able to drag out a new window no matter where I drag. Not in any corner or even ...
0
votes
0answers
24 views

How to use both UI_Previews_Dynamic_Enum & Icon?

I used the UI_Previews_Dynamic_Enum Template (in Blender 2.9), and it works. But now I want to use Custom Icons, so I have copied Template UI_Previews_Dynamic_Icon. But only one of two works. If it ...
0
votes
0answers
125 views

Python API - Panel INSTANCED Flag

I have 16 collections of properties that I would like to display in a list of panels. It seems that the old way to do this is to write and register a new class for each panel, even though they are all ...
0
votes
0answers
16 views

When calling self.layout.operator() no button appears

Using blender 2.83.2 blender my personal addons aren't working. Calling self.layout.operator() no longer causes a button to appear in the panel which breaks much of the functionality. Anyone have any ...
0
votes
0answers
47 views

Size of button operator

I've the next operator as button: button = row.operator('operador.sinoptico', text=bpy.data.scenes['Scene'].mispropiedades.eyelid_top_R) Are any way to setup the ...
0
votes
0answers
26 views

How to reset a panel to its initial state

I've created a panel with a number of other panels into it. Using it, I open panel by panel for doing my work. Then I've added an operator to reset its properties to their default state. I'd like this ...
0
votes
0answers
35 views

How to make operator (button) use my properties on execute?

I'm trying to create a simple panel for exporting models to fbx. After going through the templates and getting to grips with the layout etc. I'm struggling to actually get the properties I've created ...
0
votes
0answers
105 views

How can I instance a group of classes in Python to create a unique panel, operator, and propertygroup?

I have four classes: Panel class Property Group class Operator class Object Builder class (in a separate file) These classes connect together to create an object builder panel, which takes 2D ...
0
votes
0answers
12 views

Child UI Panel appears at the bottom of its parent

How can I make a child UI panel to not appear at the bottom of its parent? IS this possible? I could only find the bl_parent_id to set the parent UI Panel. ...
0
votes
0answers
27 views

How to acces to EnumProperty value outside of “class SearchEnumOperator”?

I can't understand how to get the value of an EnumProperty outside this operator. This is an example with the panel where I would like to show the current value of this EnumProperty: ...
0
votes
0answers
26 views

What is the best solution to create a function that returns draw?

I have a classic UI panel, and I'd like to call a drawing function that always draws the same thing, and I was thinking of using a function. Actually I don't even know how to correctly ask this ...
0
votes
1answer
157 views

Hide Transform Widgets Display Panel

Greetings. Is there a way to hide this Transform Widgets Display Panel within the 3D Viewport, using python or otherwise? Also get it to stretch along it's width wider than it will go? I have multiple ...