Linked Questions

31
votes
2answers
26k 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 ...
1
vote
1answer
211 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 ...
1
vote
1answer
60 views

How to view all autocomplete options?

I wanted to view all the stuff inside bpy.types so I used the autocomplete inside the python console. However the results are cut off. How can I get the full list? I'm trying to find a method so I can ...
1
vote
1answer
85 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 ...
1
vote
1answer
108 views

What is the best way for me to change multiple paths or values on an object with multiple variables for each one?

I am trying to make an addon that will randomize path variables. The system I have works by adding and subtracting boxes that contain an input for a data path. It works fine except for one issue. ...
1
vote
1answer
128 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
1answer
368 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 ...
1
vote
1answer
143 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
790 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 ...

15 30 50 per page
1
2