Linked Questions

24
votes
2answers
17k 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 ...
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 ...
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 ...
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? ...
1
vote
1answer
51 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
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, ...] "+" ...
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 ...
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 ...
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
22 views

Can a EnumProperty have dynamic name?

I have defined a custom Enum property for the Material type: ...
0
votes
1answer
227 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
1answer
105 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
97 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 ...

15 30 50 per page