Skip to main content

Questions tagged [custom-properties]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
106 views

Control Blending Mode of the Color Mix node through the custom driver

Could somebody point me out on how to control the Blending mode of Color Mix nodes through the Custom Properties driver? I want to be able to choose between Mix, Multiply and Add parameters. I have ...
3DBear's user avatar
  • 835
3 votes
2 answers
79 views

Interface Panel not Updating correctly

i'm currently trying to add presets to the addon i'm developing, while creating and loading those presets works fine, updating the values in the panel that the properties are used in does not work in ...
Chris's user avatar
  • 865
0 votes
0 answers
12 views

Controlling a shape key with multiple custom properties

A model I'm working with has multiple shape keys that change the shape of the body. What I'm trying to do is set up a custom property to make a "preset" for some of these shape keys. (i.e. ...
Ethan's user avatar
  • 156
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 ...
RodrigoGama's user avatar
2 votes
1 answer
74 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
19 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
  • 115
2 votes
0 answers
38 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
19 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
  • 67
1 vote
1 answer
44 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
11 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
  • 440
2 votes
0 answers
24 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
23 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
58 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.5k
0 votes
1 answer
31 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
50 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
24 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
50 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
43 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
45 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
23 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
31 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
44 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
1 vote
0 answers
29 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
  • 33
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 ...
Valerio Gianforte's user avatar
1 vote
1 answer
42 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
  • 65
0 votes
0 answers
14 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
1 vote
0 answers
154 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
104 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
17 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
37 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
  • 389
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
46 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
63 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
34 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
19 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
47 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
81 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
418 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
43 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
71 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
83 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
110 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,513
1 vote
0 answers
102 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
114 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
  • 287
0 votes
1 answer
53 views

Edit custom property's Min and Max using python api

...
Rish's user avatar
  • 1
1 vote
0 answers
111 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
  • 648