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

Questions tagged [properties]

Questions about accessing object properties or attributes while scripting

Filter by
Sorted by
Tagged with
4 votes
1 answer
100 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 ...
Harry McKenzie's user avatar
0 votes
1 answer
33 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 ...
blend file's user avatar
1 vote
1 answer
38 views

Character Rig - Knees Bending Incorrectly

I've been working on a custom character rig for my online image for the past while now, and I've managed to model my character with a decently working rig and somewhat-reasonable control blocks ...
SmartToaster4K's user avatar
0 votes
1 answer
32 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 ...
Golden Dragon's user avatar
2 votes
1 answer
43 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 ...
Lutzi's user avatar
  • 1,460
0 votes
0 answers
17 views

Existing icons are not visible on the properties tab

Existing icons are not visible on the properties tab.As in the second image below, there were various tabs, but they disappeared. Even if I delete and reinstall the blender app, I don't get a few tabs....
user185142's user avatar
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
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
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
47 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 ...
Candle's user avatar
  • 302
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
0 votes
0 answers
43 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 ...
Ommadawn's user avatar
  • 658
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
13 views

Export does not include keyframed properties

My animations have keyframes on the "Inherit Rotation" property, as it is used in some animations, but not all. I see that this keyframes are not stored in object, like all other animations, ...
Sondre Kile Andersen's user avatar
0 votes
1 answer
34 views

Blender freezes when adjusting editing materials and value slider

Been having this issue for a long time and can't seem to find the answers. While in Render View any material value slider adding nodes/removing etc blender will freeze and viewport goes grey while it ...
Paul's user avatar
  • 1
2 votes
1 answer
41 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 ...
Kageji's user avatar
  • 31
2 votes
1 answer
69 views

Sky texture not working properly

Sky texture is not showing any shadows and changing intensity in properties has no effect. Some other features are off too. I tried changing elevation rotation everything still no effect.
Blending's user avatar
0 votes
0 answers
54 views

How to Remove All Specific Properties in a Model

I have a 3d model with armor and thanks to an addon, my model has become full of custom properties that are bothering me a lot. I wanted to know how to remove all custom properties that contain the ...
MeguiTaA12's user avatar
0 votes
0 answers
24 views

i hava some troubles in understand the import_bvh.py when i use blender , thank to you good

What is the meaning of the following code? bone_rotation_matrix = (bone_rest_matrix_inv @bone_rotation_matrix @bone_rest_matrix) I want to know what the ...
王先生's user avatar
0 votes
1 answer
18 views

What is the correct way to add settings from the Bone Properties tab to a Sidebar Panel?

I once again stumped with the add-on that I'm working on that puts the settings from the Properties Editor into a panel in the 3D Viewport sidebar. I completed the Armature Data Properties section, ...
Sonario648's user avatar
0 votes
1 answer
41 views

How to save a list of objects as a scene property for operator filtering objects

is there a way to have an equivalent of a list/tuple as a scene property? something similar to c++ like "array< classname >* object list" the operator i'm working with hides any ...
user avatar
0 votes
0 answers
21 views

Is there A Possibility To Add A Shape Key Property With bpy.types.ShapeKey

Recently I tried to add a API Property To ever shape key, like I can with bpy.types.Object. However when I try to access it, I get the info, that the property is ...
Coloremblem's user avatar
0 votes
0 answers
46 views

How to get Shape Key box working in Pose Mode

Back again with another add-on in development. The add-on that I am currently working on is a Viewport Sidebar version of the Properties Editor, with various improvements that are just not possible ...
Sonario648's user avatar
0 votes
1 answer
29 views

How can I add custom section panel to the Texture Paint Properties?

I’m trying to add custom panel to the Texture Paint tools on the Properties tab, it’s suppoesd to be a simple task, but from some reason it’s doesn’t really work. I think the problem is on the ...
Golden Dragon's user avatar
1 vote
1 answer
49 views

How do I adjust my jig so that it can accept larger diameter wire?

I am building Malt Whiskey's LED cube and need to adjust his jigs he created to solder the LEDs. He is using .65mm wire and I am using .8mm. The large holes in the model below are for the LEDs and ...
Temp Account's user avatar
1 vote
0 answers
35 views

Prevent that changing an Operator's property retriggers the operator?

I'm making an operator that has the bl_options = {'REGISTER','UNDO'} in order to call the undo menu. Since my menu's draw() is ...
Ommadawn's user avatar
  • 658
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
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
18 views

The Active Tool Tab in the Properites Editor is Entirely Empty

I was doing some sculpting and went to change some of the settings on the tool I was using, but the Active Tool tab was entirely empty. I don't know what could have caused this and I couldn't find ...
Injaa's user avatar
  • 1
0 votes
1 answer
64 views

State color for bone properties does not respond (i.e. turn orange) to changes from keyframed value

Essentially, the state color does not change to orange when a transformation is made to bones in my armature, which makes it difficult for me to keep track of which transforms have had a keyframe ...
Kynes's user avatar
  • 1
2 votes
1 answer
50 views

Change Material Properties of Multiple Materials

I'm importing hundreds of different textures into Blender and I want to change the blend mode on all of them from Alpha Blend to Opaque. I understand I will need to run a python command, however the ...
David's user avatar
  • 23
0 votes
0 answers
27 views

Curve mapping in a Operator property panel?

I'd like to add a curve mapping in my operator's undo panel, along with its properties. As far as I know, is not possible and is pretty hacky; we have to basically add a Curve node in shader tree, and ...
Ommadawn's user avatar
  • 658
2 votes
0 answers
38 views

How to add a curve2D/mapping property to an Operator? (Image inside, I don't know its name)

I would like to add this kind of curve property that I've seen in different Blender's operators to my custom operator: (This one shows when we interpolate strokes in ...
Ommadawn's user avatar
  • 658
0 votes
0 answers
52 views

How to create a group of property groups?

I need to create various kind of materials, so I made myself an add-on to make it easier. But I have like two dozens of kind of materials, declined with hundreds of colors. Until now, i made it up ...
Jean506's user avatar
1 vote
1 answer
105 views

How to pass arguments/parameters to an operator class (bpy.types.Operator)? [duplicate]

I am trying send an input argument to the class ModalTimerOperator(bpy.types.Operator) but failing to do so. I am trying to send a ...
Ro.oT's user avatar
  • 121
0 votes
0 answers
74 views

The lights object data properties has vanished

Using Blender 3.6.3 initially, just installed 3.6.4 At some point I realised that all Object data properties have gone meaning im unable to make further changes to the lights in the scene. Tried many ...
1oribe's user avatar
  • 1
1 vote
1 answer
43 views

Triggering the Eyedropper from a certain color property in UI directly or via code?

Im trying to trigger this eyedropper for this color property (the vertex color in Paint mode in Grease pencil): The eyedropper is triggered when pressing E but ...
Ommadawn's user avatar
  • 658
1 vote
0 answers
77 views

Accessing the ("Parent") PropertyGroup that stores another PropertyGroup/PointerProperty from the "child"?

Here is my question: I have a CollectionProperty that contains PropertyGroups (lets call them "ObjectA" Class). This ...
Ommadawn's user avatar
  • 658
1 vote
0 answers
86 views

Getting the default value of a Property? (bpy.prop)

I was wondering if we are able to get the default value used when defining a Blender property with bpy.prop.. For example, having this property group: ...
Ommadawn's user avatar
  • 658
0 votes
1 answer
301 views

How to make an int array/list property?

Maybe the question is dumb, but (appart of IntVectorProperty) I didn't found anything in the API, so I was wondering about the best way to make a simple list/array. I tried: ...
Ommadawn's user avatar
  • 658
0 votes
1 answer
15 views

Why are my property changes to selected curves only applying to one curve? [duplicate]

If I select multiple curves, then change the properties, then the changes will only work on one curve. How do I make it work on all my selected curves?
Autumn's user avatar
  • 109
2 votes
0 answers
160 views

What's the difference between `bl_rna` and `rna_type`?

The code for accessing properties via bl_rna and rna_type gives the same result. ...
ugorek's user avatar
  • 961
2 votes
0 answers
48 views

Question about CollectionProperty and Polymorphism/inheritance

(Hi) I was wondering if its possible to create a CollectionProperty (collection_custom_objects) that contains, lets say a class <...
Ommadawn's user avatar
  • 658
2 votes
1 answer
91 views

Check if a Blender class has a property?

I need to check if a Blender class (In my case, GPencilLayer) has a certain property before executing some code. I have tried: ...
Ommadawn's user avatar
  • 658
0 votes
1 answer
79 views

Geometry Nodes - Curve To Point - Rotation Problem

If I have one dot, it becomes a problem. but when there is more than one point due to the distance, it is difficult to rotate.emphasized text Video For Question Blend File Download
3D Tasarım Okulu's user avatar
1 vote
1 answer
51 views

Tree instance geometry nodes don't follow the weight painting

I'm follwing this Youtube tutorial, my trees just spawn randomly without following the weight painting on the landscape plane. Blend file
DEFAVLT's user avatar
  • 11
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
2 votes
1 answer
240 views

Access the original object data path where a property/object is stored in?

I have a kind of theoric question. I've registered a PropertyGroup Class to the GreasePencil class/type, lets call it ...
Ommadawn's user avatar
  • 658
0 votes
0 answers
162 views

Custom properties get lost through Asset Library

I try to append custom properties to my collection and object in the hopes the asset library would carry them over when appended to a scene. Unfortunately they are lost when appending or linking. ...
rbx 775's user avatar
  • 67

1
2 3 4 5
15