Linked Questions

0
votes
0answers
115 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 ...
3
votes
0answers
96 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 ...
1
vote
0answers
33 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 ...
24
votes
2answers
16k 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 ...
6
votes
2answers
1k 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 ...
4
votes
1answer
1k 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 ...
2
votes
1answer
2k 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 ...
0
votes
0answers
1k views

How do I load list content into a template_list?

I want to list some blend files from a folder in the UI. Reading the folder content already works. The output lands in a list. Now I need to display the content of this list in a template_list box. I ...
1
vote
1answer
673 views

how do I build a list-multi-select widget using a box with operators?

What I'm trying to do is write a ui for an export script to export multiple selected actions of the selected armature(s) to multiple files. I can't seem to find an example to define an operator for ...
0
votes
1answer
450 views

populate a dropdown (or prop_search) with a string list

I want the user to be able to select a string from a list of possible options. The value stored in the extra properties data must be the selected string (not an integer id as with ...
0
votes
1answer
226 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 ...
0
votes
0answers
254 views

API: Displaying a dropdown list [duplicate]

I'm currently developing a blender plugin, and need to be able to show drop down lists where users can choose a material and object from the project, but I can't work out how to do it. Does anyone ...
1
vote
1answer
112 views

move / reorder UIList items don't work

I'm using the template of UIList in this answer but the code to move up or down the items in the UIList don't work... do you know the reason? ...
0
votes
1answer
104 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
96 views

How do you add material references to a UIList

Hey I need help adding materials to a UIList, I have used this answer as a guide: https://blender.stackexchange.com/a/30446/51645 Here is the functionality I need, I need to be able to click the add ...
1
vote
1answer
48 views

Python: template_ID()-like UI for PropertyGroup

For a Blender add-on I am trying to create an UI that let's the user choose from a list of existing instances of a PropertyGroup stored in a CollectionProperty create new instances of that ...
1
vote
0answers
49 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 ...
0
votes
1answer
22 views

Can a EnumProperty have dynamic name?

I have defined a custom Enum property for the Material type: ...
1
vote
0answers
23 views

How to make custom list panel like “Vertex Groups” list

Does anybody know how to create panel like this? (I am new to programming.) Items of this list should have several data points ["name", value1, value2, ...] "+" ...