Linked Questions

0
votes
0answers
37 views

Custom Dropdown List [duplicate]

I'm trying to integrate a cutom dropdown in my panel that allows to change between different display types for the created proxy objects. The script runs without error but the dropdown is not shown ...
19
votes
1answer
7k views

What do operator methods do? (poll, invoke, execute, draw & modal)

I've seen the functions called poll and invoke used in scripts. I'm curious what these are for and when they are called.
17
votes
1answer
5k views

Create an interface which is similar to the material list box

How can I make a Interface which is similar to the Material-Interface within Blender via Python? It should look like these. Could you guide me to the right direction? I don't think it's in bpy.ops, ...
8
votes
3answers
3k views

What ui would work for choosing from a long, long list?

I need the user to choose from a huge list of items. This is ugly and useless for lists longer than 100 items. I'm happy with the rest of the code. I just want a scrollable listbox really. ...
8
votes
1answer
6k views

How to create a Folder Dialog?

So I need to allow the user of my script to choose a directory that contains images, and then run my script on each image. I already have my script made here. I looked at this question already, but ...
7
votes
1answer
3k views

How to call a confirmation dialog box?

I have a button in my menu named "New File" as shown: and I want when I click on the "New File" button to imitate what the Blender File->New does, where a check message box appear first confirming ...
2
votes
3answers
3k views

How to toggle visibilty of Subsurf modifier using shortcut?

When you're modeling with a low res polygon and smoothing it with a Subdivision surface modifier, is there a way to toggle on/off the modifier's visibility using hotkeys instead of having to click on ...
5
votes
1answer
2k views

script custom previews in a menu

I want to know how to create a menu with previews for an add-on. Until now I know that this is related with the bpy.utils.preview. I'm making an add-on that appends ...
0
votes
1answer
697 views

Build a simple GUI that runs full Blender in the background?

I have a Cycles-Blender model, which I want to release to the layman users who don't know Blender and give them some freedom to manipulate and explore the model a bit (simple operations like rotating ...
0
votes
1answer
594 views

How to define context for a script?

I am currently writing a script that creates nodes in the Node Editor. One of the core issues I am having is understanding how to convert my script into an add-on. In my previous question I got some ...
1
vote
2answers
183 views

How to make multiple float property in python

What is the python code to make multiple float property like in the mapping node?
1
vote
1answer
343 views

How to nest sub panels and submenus on the TOOLS panel (T)?

Hi, I´m aiming to create panels with menus and submenus in the TOOLS area type just like in the picture to the LEFT. Blender pops up a shortcut menu (with shift+a) and I see it´s got arrows pointing ...
2
votes
1answer
304 views

Can I create a custom shelf without scripting?

Coming from Maya, I find essential to have my own custom shelf with my most used shortcuts. Can I create one in Blender without scripting it with Python? I can script it if needed EDIT: I'm refering ...
0
votes
0answers
293 views

Self Property vs. Property Group

When I run this code, group property shows up. However self property doesn't show up. Maybe the property path is wrong. Can you help me please :) ...
3
votes
2answers
70 views

Rotate object or move object to certain position by clicking custom UI button

I'm hoping to 3D print a simple robot controlled by an Arduino microcontroller, but first I am prototyping the design in Blender — I'm experimenting with controls, movements, actions etc. How do I ...

15 30 50 per page