All Questions
627
questions
1
vote
1
answer
35
views
How to create an enum dropdown that updates when an object is selected?
I have created an enum property that contains all UV maps of an object
...
0
votes
0
answers
21
views
Append custom code to UI events
is there any way to extend Blender UI behavior executing custom code when user interacts with it?
Les's say I wanted to change some rendering option when I select a different view layer, can I capture ...
1
vote
0
answers
36
views
Iterate over all panels in screen?
I have a timer that is running in the background.
I'm trying to identify the running operator by its panel, so when that operator's panel goes away, I execute some code.
I thought about iterating all ...
0
votes
0
answers
50
views
Drawing Gizmo in 3D Viewport while operator's panel is showing?
I'm working in an operator that has as properties a point (Vector) in the 3D space and a radius (float).
I'd like to show in the viewport some kind of circle/sphere with that position and its radius, ...
0
votes
1
answer
89
views
How to reload icons which are already registered as previews
I try to understand this Blender Example:
Blender Docs: Preview
...
2
votes
1
answer
187
views
How to find out what buttons without a python tooltip actually do?
Most things in the blender interface show info about what Python is used.
Others do not:
How do I find out what is actually happening when I click these other buttons?
0
votes
0
answers
47
views
Per Object Attribute not updating instantly
I am using this code, based on a previous question:
https://blender.stackexchange.com/a/302335/171509
...
0
votes
1
answer
52
views
Is there a way to disable the left-right arrows beside a numeric UI property?
I have a portion of my Add-On with limited space.
I would like to display an Integer number but if it's a 3 digit number, it get's cut away by the two arrows left and right.
Is there a way to disable ...
0
votes
0
answers
43
views
How to make Game Menu buttons disable others?
I'm still very new to Blender and trying to make a game menu currently. Imagine 9 buttons in a 3 by 3 grid. I need it to where you can only choose one button per column and per row. For example:
1 2 3 ...
1
vote
0
answers
127
views
Importing bpy.types malfunctions in custom script directory
Why can't bpy work properly when a script is loaded from a custom file directory?
Given that there is a file on C:\scripts\addons...
1
vote
1
answer
81
views
Can the blender api be used to create alternate viewport control modes
I am trying to build a workflow for painting equirectangular images. (I would pirate photoshop as I know it can do this but I am averse to running proprietary software)
As seen in the image below I ...
0
votes
1
answer
53
views
Can someone help me troubleshoot this addon?
I want to make it so I (and my students) can access the Graph Editor's "Key" menu from the Timeline. This is very easy to do by changing the source code: in ...
0
votes
0
answers
142
views
How to write a script to add a button to the header of the 3D View?
I am trying to learn how to script in blender and also the basics of creating addons. Most beginner tutorials show how to make menus in the N panel. But I really want to know how to make menus in the ...
1
vote
0
answers
27
views
Keyboard Events/shortcuts in UIList?
I noticed that when the cursor is hovering a UIList and you press the keyboard arrows, it changes the index:
I was wondering if we are able to modify or extend that behaviour. So, for example, if we ...
1
vote
1
answer
326
views
Update/refresh manually Blender's interface?
I need to manually refresh Blender's window/interface.
I'm working in my Addon's preferences, and I have an operator that modifies how things are drawed in a certain panel. I'd like to those changes ...