Questions tagged [custom-properties]
The custom-properties tag has no usage guidance.
28
questions
1
vote
1
answer
14
views
Access custom properties of a particle system
I want to access the custom properties of a particle system. For regular objects this is done using object.data["property_name"]. However, this does not work for particle systems although ...
1
vote
2
answers
49
views
How to attach instance of group of properties to objects
I'm trying to attach instance of arbitrary collection of properties to newly created object.
For sure it's due to my lack of understanding of Blender, however I didn't find a way how to do it.
This is ...
1
vote
1
answer
32
views
Custom Properties - Change subtype default value (Python API)
Using the Blender Python API, I am creating a float array custom property for the selected object using the following code:
...
1
vote
1
answer
41
views
Custom properties: updating from python and reading from driver
I'm still a blender beginner, sorry in advance.
I have a python script that registers frame handlers (frame_change_post) that can update some custom properties of ...
0
votes
0
answers
8
views
How could I auto-keyframe a value which is not a transform? EI. Using a value slider in real-time
For context, I am rigging a Dalek, and want to be able to turn the top lights on and off in real time when making animations. I have figured out how to make custom properties work with auto-keying, ...
3
votes
2
answers
146
views
Blender Python module (bpy): use integer property with exponential increment [duplicate]
I have an integer property I would like to increment as 2^int property.
If that isn't possible, I would alternatively like to just have regular increment, but display the value in the panel as 2^...
0
votes
0
answers
23
views
Color shader driver help
I want to make a driver that changes the color in a mix color node from one color to another color using a custom property on a rig. What is the best way to go about this?
0
votes
0
answers
48
views
Object Custom Properties values into a string in Geometry Node
How to use Object Custom Properties values in Geometry Nodes?
Here I want an string input linked to the value of name field of the Object Custom Properties. Thanks
1
vote
2
answers
197
views
How can I copy custom properties in blender
Copy form active object to another,
or to multiple objects.
Thank u!
1
vote
0
answers
30
views
How to add a custom propery to a PoseBone, with changed values for min/max ect?
There are a lot of simple examples to add custom properties, but since Blender 3.0 there have been some API changes that made it a bit confusing to create via python some custom properties to PoseBone ...
1
vote
1
answer
87
views
Blender 3.3.1 vs 3.4.1 API Properties not available to user anymore?
Why are custom object properties defined by API no longer available in the Objects Custom Properties menu? Is there any way to bring them back?
Video demo:
https://imgur.com/Bi3GBFC
Simple code used ...
0
votes
0
answers
27
views
Template list filtering
I'm working on filtering for template lists and hit a bit of a wall.
I have 2 lists, both showing shape keys of the active object. One on the left is showing items with no '_' in them (Main shapes). ...
2
votes
0
answers
87
views
Accessing custom properties, python
In my addon I'm declaring an enum that is storing 3 properties.
I tried to read up on how to pass properties between files, but I can't figure this one out.
I would like to access the properties from ...
1
vote
0
answers
134
views
Is there a way for a Geometry Node to get a value from an Instancer custom property, e.g., on the object's collection instance?
I'm trying to make a Collection Instance asset that contains objects with Geometry Nodes, and be able to have parameters on the Collection Instance affect the Geometry Nodes.
For example: I have an ...
3
votes
0
answers
110
views
Custom property created with python isn't accessible until I click on the property in the viewport [closed]
I wrote a script that creates a custom property in the World panel. It then creates a driver on the object color that's driven by this custom property, but it doesn't recognize the data path as valid ...
0
votes
1
answer
18
views
How do I compare to a custom property list?
I created a custom property group with a list of strings (populated with the name of image textures). How do I compare the list of textures in my scene to this custom property list?
...
0
votes
0
answers
175
views
How do I override a 'Enum Default Value' with 'Addon Enum Value'
I have a multi file Addon where I want to set a default value for uv layers in the Addon preferences, while being able to choose a specific layout per file.
I set my preferences and make sure they get ...
0
votes
0
answers
126
views
Shapekeys to Custom properties addon inf bug
There's this free addon that allows creation of custom driven properties from shapekeys automatically using python by selecting the mesh then the bone you want to assign the custom properties in pose ...
0
votes
1
answer
113
views
Python for Custom Compositor Nodes...not working
I'm trying to create and register a new Compositor Node. The python code runs fine in the Blender console (no errors), but after I run it, nothing happens.
what I expect to happen: When I'm in the ...
0
votes
1
answer
69
views
property driver driven by a custom property not working in other blend file
i made an addon that uses custom properties to drive other properties within that file. but the thing is, it only works in that file. when i append the collection containing everything into another ...
1
vote
1
answer
78
views
why is my enum property not showing up
I'm trying to make an enum property that just has 3 options. I compared it with the custom node space example that blender has but it still won't work. aside from this, I would like to be able to call ...
0
votes
1
answer
123
views
Material use custom property of Object
I have a lot of objects that I want to use the same material, but set (animate) a single custom property of each object which will be used for the material setting of each individual object.
If I ...
0
votes
0
answers
12
views
How to read from two different text files and fill two different EnumProperty, using the same function?
I have this piece of code:
...
0
votes
1
answer
24
views
In the Blender 3D viewport (TOP VIEW) When I turn on the shadow option... how can I adjust the position of this shadow?
In the Blender 3D viewport (TOP VIEW)
When I turn on the shadow option... how can I adjust the position of this shadow?
1
vote
0
answers
118
views
Register property which is in another file
In order to make my code a bit more organized, I decided to put all my properties in an external file. However, when I do so, I get the following error when attempting to attach my properties to ...
0
votes
1
answer
262
views
Remove all custom properties from bones
I have an armature that has some bones with custom properties that I don't need. The fact that the armature has a lot of bones and that there a separate properties for edit and pose mode, it would be ...
2
votes
1
answer
166
views
How to add a custom property in degrees?
I'm trying to create a custom property to control a bone's rotation. I need a value between a min and a max **degree** value (in my case min -50 and max 20). I tried writing that in multiple ways, but ...
10
votes
2
answers
1k
views
Change multiple custom properties simultaneously
When I ⌥ Alt LMB on a transformations property, I can change the property for multiple objects with one input action. The property turns blue for the duration of the operation.
Is there a way to make ...