Linked Questions

0 votes
1 answer
1k views

Create Custom UI list with String Objects and store them to addon itself [duplicate]

I want to recreate this kind of Menu UI, don't care about the color swatches in front of those. Just need a functionality to add using that plus sign, and I get a new string variable as these and can ...
NamanDeep's user avatar
  • 461
1 vote
1 answer
884 views

Create a list to add Objects and Materials [duplicate]

I want to create a panel list where I can add Objects and Materials. The purpose of this list is to bake the actions of the selected objects and materials to be able to export them to glTF. I already ...
jjcasmar's user avatar
  • 359
4 votes
0 answers
318 views

How to create an operator to show and select multiple items? [duplicate]

I want to create an Add-on with Python. It should contain an operator that shows several string entries. Each of them can be selected/deselected individually. This is pretty much what happens with ...
Monster's user avatar
  • 8,178
0 votes
0 answers
329 views

Custom UIList, nothing happens when double clicking list item to change name [duplicate]

I am trying to use template_list with custom items but I cannot make them change values on double click. I want to change 'name' property the same way I can rename items in other lists (with double ...
theres1's user avatar
  • 189
1 vote
0 answers
51 views

Creation of lists in blender python [duplicate]

I'm trying to create a list box on a 3d view panel but I can't seem to find the correct control in the list of properties that have an associated UI or in any other related documentation. What I'd ...
Luther's user avatar
  • 171
0 votes
0 answers
39 views

Is it possible to add property columns to the display in a UIList? [duplicate]

For an add-on I'm working on, I followed https://sinestesia.co/blog/tutorials/using-uilists-in-blender/ to create a simple UIList. It looks like this: This works rather nicely, except that I'd like ...
NeverConvex's user avatar
  • 1,257
56 votes
2 answers
60k 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,306
6 votes
2 answers
2k views

Search enum list

Is there a way to add search functionality to EnumProperty in my add-on, similar to material search? Or maybe there is another property with search functionality ...
Mikhail Rachinskiy's user avatar
5 votes
1 answer
2k views

index out of range for UIList causes panel crash

I am writing an addon that displays the mesh modifiers in a listbox, with the settings below the box. The issue I have is with the active index for the listbox - I'm using a custom property because ...
russcript's user avatar
  • 103
5 votes
1 answer
2k views

How to populate UIlist with certain collections?

I'm trying to understand how to populate an UIList with certain collections based on their name. I am trying to extend this very useful answer by @batFINGER In ...
Noob Cat's user avatar
  • 1,272
4 votes
1 answer
2k views

Is there a way to display a multi-lines message in panel / popup?

My add-on performs diverse measurements on an arbitrary number of selected objects. The measurements results are printed to the console and saved to drive as tabulated data and ...
amaizel's user avatar
  • 167
0 votes
1 answer
2k 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. ...
Noob Cat's user avatar
  • 1,272
3 votes
1 answer
3k views

How to create a simple list in the UI with Python API that would display data from Python?

I've been writing scripts for Maya and 3Ds Max, now I'm trying to learn Python API of Blender. So I'm not a beginner in scripting for such applications, but I'm a total beginner in scripting for ...
Kowalski Paweł's user avatar
4 votes
1 answer
1k views

Documentation for CollectionProperty (CRUD methods)

I cannot find any documentation for the existing CollectionProperty methods. Regardings properties, generally i find .../bpy.props.html helpful, but it doesn't ...
IARI's user avatar
  • 245
0 votes
2 answers
2k views

How to store a list or an array with python so its global available?

I think I know this is a basic question but I dont got the connection between values inside a class and outside. I have an Array with string values defined in a OperatorClass and I can use it inside ...
Master Heavy's user avatar

15 30 50 per page