Questions tagged [panel]

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

Filter by
Sorted by
Tagged with
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 ...
2
votes
1answer
15 views

Modifier added from Python operator not being applied

My operator duplicates the active object, adds a solidify modifier to it, then applies it. When run from my panel it works EXCEPT it does not apply the modifier and I can see it still under the duped ...
1
vote
1answer
23 views

Warning: 'CLASS_NAME' doesn't have upper case alpha-numeric prefix

I always get the following error Warning: 'ABC_Fbx_PT_Panel' doesn't have upper case alpha-numeric prefix But I don't really get why... That is my code: ...
0
votes
1answer
43 views

Choosing right context for property in viewport panel [duplicate]

I have a simple panel that you can see in the viewport which is a shorter version of UI Panel Simple. Seeing from other panels, by using Edit Source, they all define a context where the property is ...
0
votes
1answer
26 views

Why can't I insert a keyframe into the prop from the operator panel?

In this code example, I try to call an operator popup, in which I put a "location" property of the active object, I'd like to right-click to insert or remove keyframes from these properties, ...
0
votes
1answer
23 views

How do you access the object that a PointerProperty points to?

I have created a PointerProperty so that I can specify a target object that I want a my script to act on, but I can't seem to find any information about how to actually use the pointer property once I ...
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
17 views

Get checkbox state from sub panel [duplicate]

I am trying get the state of the checkbox in my animation subpanel and would like to set myBool to it's state. Here is my code: ...
1
vote
1answer
83 views

How can I add a panel to the properties area of the file browser?

I would like to wrap my properties inside collapsible panels when using the ExportHelper or ImportHelper class but I can not ...
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
20 views

how do I add these sub panels to a panel in my addon? [duplicate]

I know how to make a basic bpy.types.Panel, but how do I add these sub panels?
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 ...
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
1answer
33 views

Is there a workaround for the known bug in dynamic EnumProperty?

So I was making an addon with a dynamic EnumProperty and apparently ran into a known bug when trying to use Expand = True for this property in the panel. Although ...
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
1answer
698 views

How to populate UIList with all material slot in scene? 2.8

I make that script (Copy a piece from template UIList) Now i can draw My box with inside the active object material but i want to populate that with all material in scene, i not undertand , how to. ...
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
12 views

Toggle Box UI In Panel [duplicate]

The above image is what I have created so far, still prototyping, just got started scripting within Blender Would like to be able to collapse each box, which contains light properties, like the image ...
0
votes
1answer
44 views

How do I change text on a panel row or hide it depending on the value of an EnumProperty?

I want to put four or five choices in an EnumProperty so I can pick a choice of actions. Most choices won't need additional input, but one (possibly two) will need more input. For example, let's say ...
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
1answer
26 views

Hiding Entire Panels and Other Elements from the UI

I'd like to hide the vast majority of the user interface. The users of my addon are biologists who are often quite intimidated by computers, so I'd like to limit the confusion on the screen to just ...
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
43 views

How to remove a certain operator? [duplicate]

In short my question is how can I remove/delete an panel/class/operator which: a. I don't know the full name b. and I don't know where it is stored in Blender system. In other words, how I can undo a ...
1
vote
1answer
73 views

How to force a redraw of a panel in the 3D_View

I have a panel in 3D_View that shows the current file and allows the selection of a new file. When the file is selected, the panel needs to redraw. How do I force a redraw? In Operator.py file ...
3
votes
1answer
701 views

How do I add a panel to Object Properties?

I'm creating an add-on with a custom object. When I select the object, I'd like to be able to edit some custom properties of the object with a small panel. I'd prefer to put it in the object ...
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 ...
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 ...
1
vote
0answers
99 views

How to hide a panel that appears twice? [duplicate]

I'm making an addon where I added a panel to a popover button. See the following example: Here we can see (in image number 2) a popover button in Shadows. This panel is shown only on this button. I ...
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
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 ...
4
votes
2answers
463 views

How to add a checkbox to a panel header?

I'm trying to find out how to add a checkbox to a panel header so panel can be deacivated (as well as storing that checkbox value in some property). It may be quite obious task, but I didn't find any ...
3
votes
1answer
55 views

how to ad a panel in the properties/data Speaker specific

I can't find anywhere how can i add the panel of an operator in the Speaker properties data tab only. it appears in all other objects data tab and i can't find a context list ...
2
votes
2answers
330 views

How to make custom “create options” panel in bottom left

I want a panel in the bottom left to accept "create options"; like what you get when adding an mesh object. I've got a panel but no combination of ...
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
0answers
16 views

Why is merging interface's area by aiming at the corner and then dragging them with LMB so inaccurate? [duplicate]

When I try to merge the interface areas by dragging from the corner, it either merges them, or creates a new area. I don’t understand how it works, it’s like the principle of randomness - sometimes it ...
1
vote
1answer
30 views

How to display number of users in object properties panel? 2.91

After updating to 2.91, I can no longer see a user number in object properties, when using Duplicate Linked (Alt+D). Is it possible to make this feature work, like in previous versions? Here's how my ...
0
votes
0answers
14 views

Check that a plugin is installed and enabled [duplicate]

I'm a noob for scripting, just starting ... sorry for that :) I would know if there is a way to check if a plugin is installed and enabled The context is I would reorganize the N-Panel a little better ...
0
votes
1answer
73 views

Material Properties-Material Preview doesnt show anything ( totally black) [duplicate]

I start to use blender for a month so i am a beginner. If its a bad question i'm sorry but i couldnt figure out the trouble. I'm using 2.83a In Tabs&Panes - Material Properties -the material ...
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 ...
0
votes
1answer
26 views

Is it possible to determine the UI panel class that is parent/host to an operator when its button is clicked?

I'm dynamically registering a variable number of panel classes, all sub-classed from a custom panel class that includes an operator. Thus all the new panel sub-classes contain a button that executes ...
1
vote
1answer
98 views

How to change properties panel layout

I've watched information of new 2.9 changes and noticed that UI is more friendly. I've downloaded version 2.9 and I still can't get what I saw. I Googled but didn't find anything. I have added an ...
0
votes
2answers
35 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 ...
2
votes
1answer
45 views

How to create a panel with different properties for different objects

In Blender when I select an object and I change any setting, the other objects are not affected, but when I create a panel with properties from bpy.props, changing an intProperty on one changes it on ...
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 ...
1
vote
1answer
110 views

How do i display the Lengths of an object in 2.8

How do i show the lengths of objects in 2.8?. For example in 2.79 i could scale a wall or floor and it would display the length on the edges.
0
votes
0answers
23 views

How to create a subpanel that has a checkbox - Python Blender [duplicate]

I am creating an Addon with Python and BPY, and I would want to have something like this: How are these things called? Subpanels? I have been looking and couldn't find any info. I would like to know ...
1
vote
0answers
19 views

General Python UI help [duplicate]

Ok, I've looked all over the place and I'm really stuck. I would like to have a panel with some input variables (like height and radius), which can be typed in. Then I would like a button that, when ...
0
votes
1answer
24 views

Python panel source code [duplicate]

I saw a tutorial where the guy right clicked on any object in the GUI (he chose Transform->Translate) and he got the Python source code for that panel with an indicator for the line where the ...