All Questions
48
questions
2
votes
0
answers
20
views
How to Get All Possible Values of an EnumProperty in Blender Python [duplicate]
I'm developing a script where I need to retrieve the available values of some EnumProperties in Blender. I found a similar question already answered here. However, ...
0
votes
1
answer
39
views
how do I change the properties of the selected element in the UIList?
so, i have the ui list and many properties for each element witch is added to it. The idea is that when the user selects an object in the list, its properties are displayed at the bottom. He can ...
0
votes
0
answers
50
views
Showing (and modifying) a Color Ramp in addon's menu?
I've seen this post from 9 years ago and I'm asking it again because is possible that things have changed (I hope) when it comes to work with color ramps.
I'd like to display and modify a color ramp ...
1
vote
0
answers
38
views
Prevent that changing an Operator's property retriggers the operator?
I'm making an operator that has the bl_options = {'REGISTER','UNDO'} in order to call the undo menu.
Since my menu's draw() is ...
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
1
answer
58
views
Unable to Access Registered Class Properties (Properties Grouped in Class)
I'm grouping my properties in a class
like this:
...
0
votes
1
answer
79
views
How can I change PropertyGroup properties (IntProperty, FloatProperty etc) after Operator executed using the PropertyGroup?
How to make changes in the last action menu affect the operation with properties passed in, like if I change them in the ...
1
vote
1
answer
34
views
EnumProperty UI 'Dropdown List' Not Displaying in UI element
So I am writing a little add-on for myself (whilst learning UI dev for Blender) and I am attempting to add a DropDown element via an Enum using EnumProperty.
However, after a successful compiling it ...
0
votes
1
answer
299
views
Creating properties dynamically for UI panels in a Blender addon
I'm currently working on a Blender addon, and I'm facing an issue regarding the creation of dynamic properties for UI panels. Specifically, I'm trying to read parameters from a JSON file and display ...
0
votes
0
answers
29
views
props.BoolProperty's update not being called when pressed
I am trying to do a simple floating menu toggles with update functions linked.
At the moment the update functions does not get called (not showing up in the console) which means something is not quite ...
2
votes
1
answer
202
views
Making a generic "ID"/datablock pointer property in an add-on
I'm making an add-on and would like to have properties for selecting ID-blocks and data paths, similar to those in KeyingSetPath. Here's how I'm declaring them:
<...
2
votes
1
answer
32
views
running function when selecting shapekeys
I'm trying to run a function (setting the active shapekey value to 1, and all other shapekeys values to 0) when selecting a shapekey.
Not quite sure how to achieve that. I tried subscribing to msgbus ...
1
vote
1
answer
117
views
How can I store a pointer to a custom data type?
I have a type of PropertyGroup that stores some settings. My goal is to have a master collection full of instances of this group stored with the scene, and a list of slots that can be filled with ...
-1
votes
1
answer
565
views
How to use Property Definitions and PropertyGroups with UILists?
Ok I have to be honest here, UIList are confusing and I haven't been able to find any good documentation to help me with this question:
How do I go about using IntProperty, BoolProperty, ...
0
votes
0
answers
37
views
'Search Bar' for custom UI Lists - prop_search [duplicate]
I'm trying to create the ability to have multiple UI Lists (custom, assigned to bpy.types.Object) which can be selected and have their names edited by use of a <...