All Questions
Tagged with python properties
421
questions
0
votes
0
answers
24
views
Props Dialog Width Issue
context.window_manager.invoke_props_dialog(self, width=400)
Should be giving me a popup window that is 400 wide, but it isn’t. At least not right away:
https://www....
0
votes
1
answer
17
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()
...
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
21
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' ...
2
votes
1
answer
31
views
How to avoid persisting bpy properties to .blend files
I have a few operators that are effectively batch scripts that perform bulk operations on objects in a scene or .blend file. Each operator is a one-shot thing that has no need for the followup ...
2
votes
1
answer
56
views
NodeTree Pointer Property Not Saving in Scene Property Group
I'm developing a Blender addon and have encountered an issue with saving and restoring a NodeTree pointer property within a custom ...
4
votes
1
answer
121
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
37
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
1
answer
34
views
How can I make an instance-level dictionary in a PropertyGroup class?
I have a class that inherits PropertyGroup
I have lots of properties inside, and besides I want it to have also a dictionary that store different keys and values ...
2
votes
1
answer
56
views
Python - Attach property to current blend file
My goal
I'm currently working on an addon. I'm quite new to Python, but I'm fluent in programmation in general. My addon's goal is to speed up the process of naming output files, keep track of version ...
0
votes
1
answer
31
views
How to set type and sybtype of custom propertie with python script?
I have a script like this:
...
0
votes
1
answer
54
views
Blender Docs Misleading? 'Invalid Keyword' Error with Inherited Properties
Property, alongside having several subclasses (like BoolProperty), has a number of property definitions, such as is_library_editable.
According to my understanding of class inheritance, children of a ...
0
votes
0
answers
38
views
How can I create a custom property set for the objects using Python?
I have to code a custom property and quantity set for objects in my Blender scene using Python. I'm a rookie in this kind of stuff, is there someone who can help me? Thank you!
I've tried to follow ...
0
votes
0
answers
48
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 ...
2
votes
1
answer
43
views
Armature selection using a eyedropper
I created an addon that uses an eyedropper to select an armature.
The type retrieved is determined by how the object is selected.
Using an eyedropper makes it an "Object", and using a list ...