Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [custom-properties]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
63 views

Accessing Custom Layout Workspace Properties from Python

I am trying to read custom property data from a blend file using Python and Blender v4.1. In the model, custom properties (e.g. an Integer property called "ASSET_ID") was added in the Layout ...
Len Wanger's user avatar
0 votes
0 answers
16 views

how to make driven scene properties update in the UI?

I am writing an addon that has a property which needs the #frame driver, but when I play the timeline automatically (space key to play), the value doesn't update in the UI. However, when you drag the ...
baby boss's user avatar
2 votes
0 answers
31 views

How to access basic type information of Custom Properties?

I'd like to access user-defined custom properties (those that can be created by clicking the "+ New" button in the Custom Properties panel) and their type information in Python. So if I ...
371273's user avatar
  • 165
0 votes
1 answer
18 views

Animating material property from a linked collection

I have a linked collection with several objects and I want to animate hue value of one of the materials. Following this answer I have a custom property linked to my hue driver and this works perfectly ...
16ar's user avatar
  • 45
1 vote
1 answer
41 views

why is my color picker value slider giving me odd values? custom color property in custom node

I am trying to create a custom node using Blender's built in example script. I've added a FloatVectorProperty with subtype='COLOR' as a custom property to my custom node. But, when I register the ...
Derek Eden's user avatar
0 votes
1 answer
10 views

how can I find what objects reference a custom property?

I am animating a figure. The rig has over 200 "drivers" which point to custom properties on the armature. I cannot figure out how to trace the custom properties into the armature itself. ...
user1071914's user avatar
0 votes
0 answers
16 views

How to use a PropertyGroup inside the Preferences?

I would like to create a PropertyGroup and use it to store some preferences. A list of folders with some additional information for each folder. There will be a ReScan button to check for updates in ...
Steve's user avatar
  • 460
2 votes
0 answers
21 views

How to make a collection's custom property animatable?

As far as I understand, custom property in UI, is nothing more than an "add-on" written in python. But for some reason collection's custom property cannot be animated. Does anyone have any ...
Dmitriy's user avatar
  • 41
0 votes
0 answers
27 views

Animating custom attributes with python

I'm looking for a way to animate custom Blender attributes. Let's say we have an attribute created using the solution from this post: Manually setting custom attributes per edge / vertex / etc ...
websterek's user avatar
0 votes
0 answers
21 views

I want to make an audio visualizer that accumulates the input from a f-curve data rather than vacillates between values. How can I accomplish this?

The specific effect I'm going for is a noise texture on an object to move a little bit farther each time a sound is played from an audio file. Essentially I want it to accumulate the values from the f-...
Jesse Beauchamp's user avatar
3 votes
1 answer
49 views

How can I display a bpy.types.Text custom properties in the interface?

Re an interesting question in another Q&A : https://blender.stackexchange.com/a/315212/86891 bpy.types.Text, which inherits bpy.types.ID, supports custom properties. It is possible to access, read,...
Gorgious's user avatar
  • 31.1k
0 votes
1 answer
26 views

Delete all custom properties from selected object?

Seen bunch of threads for deleting every custom property from the whole scene, but not for the currently selected object. Or selected objects.
J4k996's user avatar
  • 1
0 votes
0 answers
38 views

How to store custom properties that use int and float vector property to json?

I wrote a simple code that gets the custom properties I've added to materials and stores them in a dictionary, then this dictionary I write to json file. And it worked until I added IntVectorProperty ...
Ігор Спасівський's user avatar
0 votes
0 answers
22 views

I created a dice cube model using a tutorial and i would like to expoert the subdivision holes as properties to unity3d. how can i do it?

This is the tutorial : https://www.youtube.com/watch?v=Xrzvb8HJV-8&t=2s This is the model in my blender: in the video tutorial it's on minute 9:31 Extrude Faces Along Normals and then when you ...
Daniel Lip's user avatar
0 votes
1 answer
30 views

Editing Custom Property in a Pose Bone in Python

I'm new to scripting. I'm trying to make a small script that runs after Rigify Generates the rig to do some customization to my rig. What do I need to write to be able to edit this custom property in ...
bassimist's user avatar
0 votes
0 answers
36 views

How to add custom bool property to 3D VIEWS Areas with Python

I am trying to find a way to add a bool property to Areas that are of type 'VIEW_3D'. What I am trying to implement is a mechanism where I would have a simple On/Off switch for each visible 3D VIEW so ...
Maciej Gliwa's user avatar
0 votes
0 answers
36 views

Custom properties export to .csv

I am trying to write a script that would write me .csv file containing custom properties, name, location, rotation and dimension info of selected objects. It works fine accept of info from custom ...
BlenderStarter's user avatar
0 votes
0 answers
16 views

"attribute is read-only" error when trying to set a PointerProperty of a Shader Node

I'm working on a addon that makes use of custom node groups that has a Pointer property that holds a specific custom class type. like that: ...
Golden Dragon's user avatar
0 votes
1 answer
30 views

How to set type and sybtype of custom propertie with python script?

I have a script like this: ...
Dmitriy's user avatar
  • 41
0 votes
1 answer
33 views

How to make a driver/shape key cancel out another driver/shape key?

The idea I have is fairly simple in concept: I'd like to enable two shape keys independently (like a normal face rig slider), but have one of those shape keys take priority over the other. My exact ...
Excretioner's user avatar
0 votes
0 answers
22 views

Can I edit Boolean Array Custom Property's booleans' names?

I want to put names on these booleans (like "Default" is the first one) but I can't seem to find how to do it.
I'mSol's user avatar
  • 23
0 votes
0 answers
32 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 ...
Valerio Gianforte's user avatar
1 vote
1 answer
24 views

Drivers Editor : Adding more than 2 keyframes

I'm trying to adapt some Maya rig for Blender, and I'm translating Maya's Set Driven Key to Drivers. But for the life of me, I can't seem to figure out how to add more than two keyframes to my driver'...
Lou's user avatar
  • 55
0 votes
0 answers
10 views

Is there a way to copy a Custom Property from one Bone to another ? Either on the same rig or across rigs

I've seen this answered for objects but I see nothing when it comes to bones. I've played around and done some research, I'm wondering if it is even possible ? -Without having to write a python script....
Ageofgar's user avatar
0 votes
0 answers
96 views

Rigify: How to regenerate a rig while preserving custom properties of control bones?

I am adding Custom properties to certain controls Rigify creates. In this case to control the Iris shader of the eye to make it grow/shrink. I don't want to create a whole other control for this if I ...
Ageofgar's user avatar
0 votes
1 answer
86 views

Use custom properties in Blender (4.0.2) material preview?

I have a material I made that uses some custom properties from the object: a color and a float. The color and float are used in some computations to make the Base Color for the Principled BSDF. When I ...
harada's user avatar
  • 103
0 votes
0 answers
16 views

I don't know how to insert a key into a custom property in Python

I want to insert a keyframe into a custom property that I have set up. I have tried to do this in past posts, but have not been able to. Could you please give me some advice? ...
Cow's user avatar
  • 1
0 votes
1 answer
32 views

Assign a custom material property to models

I need an explanation how to access and iterate over Materials in Objects. I want to add few Custom Properties in a set of files (I want to import each file, add Properties to every material in that ...
tomangelo's user avatar
1 vote
0 answers
26 views

How to hide properties in the "Adjust last operation" of custom operators?

I'm trying to create a custom operator to help me building armatures. It should change behavior depending on a custom property defined in the operator class. In addition, the "Adjust last ...
Antonio's user avatar
  • 357
0 votes
0 answers
17 views

How2 keyframe & trigger (retrieve+play) an action incl variable transform values (custom attributes) as with an Action Constraint (no timeline)?

My goal is similar to interactively actuating a controller to drive action constraints, but where some keyframes include variables (pref. custom attributes) for transform & shape key (and shader ...
mediaman1's user avatar
0 votes
1 answer
44 views

What Blender type should be used for custom list of objects?

Lets say I have defined a new class ...
aheuchamps's user avatar
1 vote
1 answer
54 views

How can I create a custom property in Blender that affects a circle?

I created a circle in Blender. In Object Mode I did: Add > Mesh > Circle and also added more vertices. Then pressed F in Edit Mode and it filled the circle. Now on the right side of the window I ...
Daniel Lip's user avatar
1 vote
1 answer
24 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 ...
DerOrbiter1's user avatar
1 vote
0 answers
28 views

Is it not possible to store UI-related variables in the Panel itself?

I'm making a custom panel for a pet-project, very new to Python and Blender. One thing I noticed that in all example panels I can find, all input is stored in global objects, like scene object. I ...
Emrah 'hesido' Baskaya's user avatar
0 votes
0 answers
16 views

3Dmax "user defined properties" similar in Blender

Is there a way in add 'User Defined Properties' in Blender like in 3DMax
Er Re's user avatar
  • 1
0 votes
0 answers
42 views

How can values transferred to Blender be changed to float type?

I transferred data from Matlab to Blender. The data is stored in the variables prop0-prop5 (6 variables in total) The values I transferred are decimal, and when transferring the data to Blender I see ...
yuvi's user avatar
  • 11
1 vote
0 answers
74 views

spinning a propeller (propeller changes its rotation direction and speeds up before stopping)

iam trying to control the rotation speed of a propeller in Blender using a custom property for RPM (Revolutions Per Minute), and i want the propeller to gradually increase from zero to a high speed ...
Yahya Tarek's user avatar
2 votes
1 answer
328 views

How can I add a custom property with a dynamically defined name to an object?

This works great: bpy.types.Object.color_asd = bpy.props.FloatVectorProperty( subtype='COLOR', ) This errors: ...
YupDiDo's user avatar
  • 55
0 votes
1 answer
39 views

Low poly render shows grey polygons

I'm new to 3D, when I try to render my first model it shows some grey polygons throughout the body of the character. Face Orientation is all correct. I'm using Cycles... Eevee makes the render a ...
SthuleyMarsh's user avatar
0 votes
0 answers
58 views

Help Fix shapekeys to custom bone properties addon

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 ...
Prince Erisol's user avatar
0 votes
1 answer
75 views

Copy a float exactly in an object attribute

I'm looking for a way to copy exactly the value of a float into the attribute of a Blender object, but I see a loss of precision on the last 5 digits. For example I want to copy -0.18958371707600324 ...
GBA's user avatar
  • 13
3 votes
1 answer
80 views

Passing collection property as a parameter to an operator without UI

I have some automated tests setup for one of my add-ons. However, one of my operators initializes its own collection property parameter upon invoke() - which doesn'...
S. Magnusson's user avatar
  • 1,503
2 votes
0 answers
94 views

Unable to access custom properties on collection asset

I have one Blend file with a Collection that has a custom property with "Library Overridable" enabled. However, when I use the Collection as an asset in another file, I can't access the ...
AlephCubed's user avatar
1 vote
1 answer
102 views

Custom properties in shaders zeroed out when I make a copy of the view layer

I am working on a complex scene with many different starships in it. This is a recreation of an old PC game poster, and since each starship was lit in a bit different way, my idea was to have each ...
Ondrej's user avatar
  • 277
0 votes
1 answer
45 views

Edit custom property's Min and Max using python api

...
Rish's user avatar
  • 1
1 vote
0 answers
99 views

How to avoid circular imports? (How to import modules)

In Blender, as far as I know (please point me if I'm wrong), we can't make: import some_file_in_our_folder (With modules inside our addon folder). This forces us ...
Ommadawn's user avatar
  • 658
0 votes
1 answer
118 views

How do I create a drop-down menu with custom properties? (Blender 3.5)

I want to create a drop-down menu for my rig. I have this settings bone in it, in which I want to add something to change the subdivisions. I thought integers aren't that user-friendly, so what I ...
ComixProd's user avatar
0 votes
2 answers
628 views

How to keyframe custom properties in actions?

I'm using Blender to develop game animations. I have an animation that I want to attach hit boxes too. I then want to set boolean on/off values on keyframes the hit boxes are active and read this in ...
kevzettler's user avatar
0 votes
0 answers
39 views

Function to keyframe any custom property; curve created but animation ignored

The original question was in fact ridiculous, a very basic syntax mistake. I corrected the error. But something more interesting occurred : Although the animation curve is created, it is ignored and ...
Nicolas's user avatar
  • 147
1 vote
1 answer
66 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 ...
Matthias Müller's user avatar