Linked Questions

0 votes
0 answers
299 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 ...
QFSW's user avatar
  • 41
0 votes
0 answers
55 views

Addon button for picking material [duplicate]

I'm having a difficulty trying to add a button to my add-on Tools menu for picking a material. Currently I'm doing it by bpy.props.StringProperty() so the user has to write the correct material. Is it ...
V453000's user avatar
  • 31
2 votes
0 answers
47 views

Group input in panel with python [duplicate]

How can I add an UI widget for a group input? Example: Physics > Smoke > Smoke Groups How can I create such a field in a panel with a python script?
questonia's user avatar
17 votes
3 answers
15k views

Is it possible to use bpy.props.PointerProperty to store a pointer to an object?

If the user renames an object, the reference via string key is lost. Is it possible to store a pointer to an object in a property assigned to a class of bpy.types ...
pink vertex's user avatar
  • 9,896
10 votes
2 answers
4k views

Object selection box with eyedropper

How to add an eyedropper functionality to prop_search in my addon? ...
Mikhail Rachinskiy's user avatar
4 votes
2 answers
2k views

Search custom properties in objects on the scene (Python)

Is it possible to somehow search all objects on the scene which have a custom property enabled using prop_search? I know how to do this with dynamic EnumProperty but it seems to be not an option as ...
D. Skarn's user avatar
  • 695
2 votes
1 answer
323 views

Selecting a font in python panel

I'm trying to use prop_search to select a font that is loaded in the current blender file, similar to the example given here. The problem is I can't figure out ...
user2699's user avatar
  • 867
4 votes
1 answer
160 views

Update list based on external file

I am writing an addon to help me manage my multi-file addons. Its coming along really nicely, but I want it to work no matter what .blend file I have open, so I have it save each project's data to an ...
doomslug's user avatar
  • 1,809
2 votes
1 answer
96 views

Add object selector in the slide-bar

I'm making an add-on located in the slidebar and I need an object picker for later on referencing that object. For now this is what I have: And I would like to add the object picker (like this): ...
Artichoke's user avatar
  • 383
1 vote
0 answers
104 views

selecting in python: ask to pick an object? [duplicate]

How do I create a picking session in python? Say I have a script that does some operations, but its want the user to pick first a source object and then a target? How do I invoke the picking? My guess ...
knekke's user avatar
  • 1,331
0 votes
0 answers
21 views

How to limit possible objects from an object chooser in Python [duplicate]

I just read through this thread: Object selection box in addon Is there a way to have similar function but to make the selection in the box limited to a list of objects defined by the programmer in ...
Anson Savage's user avatar
  • 3,392