Questions tagged [custom-properties]
The custom-properties tag has no usage guidance.
23
questions
3
votes
2
answers
112
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
20
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
30
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
57
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
23
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
60
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
20
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
58
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
73
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
68
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
87
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
72
views
How to create custom properties from shapekeys on a bone using python
I recently found this free addon that helps anyone create custom properties from shapekeys automatically using python by selecting the mesh then the bone you want to assign the custom properties in ...
0
votes
1
answer
62
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
53
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
59
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
71
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
10
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
22
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
91
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
178
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
131
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 ...