All Questions
159 questions
1
vote
0
answers
34
views
Second driven values don't get updated, in my script
Long story short, I'm encountering this issue where a driven property that depends on an output value from my script doesn't update. But this just happen when the input value is driven by another ...
1
vote
1
answer
27
views
How to display Size property in form of "number+units" in the custom operator's REDO panel?
If we add some standard mesh (e.g, cube) - the Size property will be displayed as
number + units :
API documentation says that in case of primitive_cube_add the ...
1
vote
1
answer
37
views
Using 2 enumproperties , at init selecting one item at index 4 select in the other list one item as same index, is it possible to have it at index 0?
I'm using the Gorgeous example as it is what I want to use and it's a great example ;)
see How to show limited enum items?
The problem when I run the script, is if I select in first list the item at ...
0
votes
1
answer
34
views
Load properties from scene in another blend file (without contents)
I'm trying to load scene properties from a given blend file into the current one using bpy.data.libraries.load()
...
0
votes
1
answer
23
views
How to pause function call(back) for ie intproperty value setting, which has update function?
We have ui panel with intproperty & stringproperty fields (all those below 'timezone'):
ba_props.py
all those properties have 'update=update_coordinates' ...
5
votes
1
answer
337
views
How can I expose Geometry Nodes properties in my addon panel?
I came across this question and learned that I can actually expose properties from the Blender UI in my addon panel. So I was experimenting on exposing properties of modifiers like for example the ...
0
votes
1
answer
36
views
How to set type and sybtype of custom propertie with python script?
I have a script like this:
...
0
votes
0
answers
129
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 ...
0
votes
1
answer
49
views
How to save a list of objects as a scene property for operator filtering objects
is there a way to have an equivalent of a list/tuple as a scene property?
something similar to c++ like "array< classname >* object list"
the operator i'm working with hides any ...
1
vote
0
answers
42
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 ...
2
votes
1
answer
88
views
Change Material Properties of Multiple Materials
I'm importing hundreds of different textures into Blender and I want to change the blend mode on all of them from Alpha Blend to Opaque. I understand I will need to run a python command, however the ...
1
vote
0
answers
75
views
Curve mapping in a Operator property panel?
I'd like to add a curve mapping in my operator's undo panel, along with its properties.
As far as I know, is not possible and is pretty hacky; we have to basically add a Curve node in shader tree, and ...
2
votes
0
answers
59
views
How to add a curve2D/mapping property to an Operator? (Image inside, I don't know its name)
I would like to add this kind of curve property that I've seen in different Blender's operators to my custom operator:
(This one shows when we interpolate strokes in ...
1
vote
1
answer
332
views
How to pass arguments/parameters to an operator class (bpy.types.Operator)? [duplicate]
I am trying send an input argument to the class ModalTimerOperator(bpy.types.Operator) but failing to do so. I am trying to send a ...
1
vote
0
answers
213
views
Getting the default value of a Property? (bpy.prop)
I was wondering if we are able to get the default value used when defining a Blender property with bpy.prop..
For example, having this property group:
...