Linked Questions

38
votes
2answers
32k 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
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 ...
3
votes
0answers
201 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
309 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 ...
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
189 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
508 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
166 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
176 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
202 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
157 views

Blender Python - How to create path and folder structure from within Blender

I have some experience in programming, so I know the basics of Python in Blender. I know how to dig through the Blender Python Refernce but it is very much to look around. I know I need to import ...
1
vote
1answer
92 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
0answers
57 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 ...
1
vote
0answers
39 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 ...

15 30 50 per page