Skip to main content

All Questions

Tagged with
57 votes
2 answers
61k views

How to create a custom UI?

I was watching this video on making a custom UI tab using Python, and in the line from bpy.types import Menu, Panel, UIList, I see the names of objects that look ...
DragonautX's user avatar
  • 1,316
27 votes
1 answer
14k views

Create an interface which is similar to the material list box

How can I make a Interface which is similar to the Material-Interface within Blender via Python? It should look like these. Could you guide me to the right direction? I don't think it's in bpy.ops, ...
Hamburml's user avatar
  • 957
15 votes
1 answer
12k views

How to create a Folder/File Dialog?

So I need to allow the user of my script to choose a directory that contains images, and then run my script on each image. I already have my script made here. I looked at this question already, but ...
doomslug's user avatar
  • 1,819
13 votes
1 answer
12k views

How to call a confirmation dialog box?

I have a button in my menu named "New File" as shown: and I want when I click on the "New File" button to imitate what the Blender File->New does, where a check message box appear first confirming ...
Tak's user avatar
  • 6,323
10 votes
2 answers
4k views

Object selection box with eyedropper

How to add an eyedropper functionality to prop_search in my addon? ...
Mikhail Rachinskiy's user avatar
12 votes
1 answer
2k views

How to get one UIList to control the contents of another UIList?

I have two dynamic lists. One is for strings and another one for objects. When the string changes I need the other list to show the objects assigned to the string in the first list. So I would need ...
tintwotin's user avatar
  • 2,436
6 votes
2 answers
6k views

How do a create a foldout UI panel?

I have an add-on with rather a lot of UI options and am trying to find a way to clean it up so that not all the options need to be shown at once. I've noticed that some of the default tools have ...
MrFlamey's user avatar
  • 3,879
10 votes
5 answers
10k views

Add Custom Menu at Specific Location in the Header

Blender has a built in template for adding a custom menu to the main header (INFO_HT_header). This can be found by going into the text editor under templates->Python->UI Menu. Can I relocate this ...
PolyMesh's user avatar
  • 655
4 votes
2 answers
836 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 ...
Niels's user avatar
  • 336
2 votes
2 answers
2k views

Add toggle hotkey to custom checkbox

I have a self made checkbox in a script. Now I want to create a hotkey in the Input manager to toggle it. What I have done so far is to create a keymap item with ...
Tiles's user avatar
  • 2,028
9 votes
2 answers
7k views

New window with Python API?

How to create a new window with a certain dimensions (for example 40% of screen size) using Python API? Functionality-wise similar to File > User Preferences — a new window shows up with User ...
Mikhail Rachinskiy's user avatar
8 votes
2 answers
5k views

How to call invoke_popup?

I just can't figure out how to create a custom popup which can receive data etc. What I want to do is let the user select one of the currently selected UV-layers and just hand that back to me. So I ...
WorldSEnder's user avatar
  • 1,626
5 votes
2 answers
11k views

How can I add a checkbox in the tools UI?

So I want to add a checkbox to the UV/Image Editor tools UI This is currently my code, You can see where I have commented "#Checkbox Here" and later on in the UpdateOperator I want to check whether ...
Nils Söderman's user avatar
5 votes
1 answer
6k views

How to create a button on the n-panel?

I would like to make a custom button on the N-panel. I already went through blender's templates and amended the ui button script to 2.8 but I don't understand where and how I should implement my code ...
four two's user avatar
  • 980
24 votes
2 answers
6k views

Blender UI Multithreading Progressbar

The following question might've been asked several times, but I've found no satisfactory answer. Short question: How can I show progress of background task in Blender UI? Explanation: I have a ...
mg007's user avatar
  • 821

15 30 50 per page
1
2 3 4 5
10