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
3 views

Creating Sub Panel RNA AttributeError: 'RNA_Types' object has no attribute 'panel'

So I've had a look at this blender stack exchange thread: How do a create a foldout UI panel? and this reference here https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API/UI_API#...
0
votes
0answers
15 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
27 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
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
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
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
36 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: ...
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 ...
1
vote
1answer
85 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
21 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
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
45 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
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
45 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
77 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 ...
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
82 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
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 ...
3
votes
1answer
56 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 ...
0
votes
0answers
39 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
31 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 ...
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
27 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 ...
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
46 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
96 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
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 ...
3
votes
1answer
197 views

How to control spacing/alignment of Label + Horizontal Enum Property?

I would like to achieve the layout of this panel but I'm having some issues. The example is from blender's Bevel Operator. As far as I can tell it's just an Enum Property without the enum_flag since ...
0
votes
0answers
88 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
43 views

Where i can find this properties panel in blender 2.79

i am trying to find this properties panel in blender 2.79 but i am not able to find it, can you guys tell me that does this panel exists in blender 2.79 or not?
0
votes
1answer
137 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
58 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
1answer
41 views

How can I hide the name of the variable related to a list box

How can I hide the name of the variable related to a list box i want the text in the red box not to be seen ...