Questions tagged [properties]
Questions about accessing object properties or attributes while scripting
647
questions
0
votes
0
answers
27
views
How to prevent recursion with Property Get/Set?
I have a get and set method for my properties. As an example, I'm getting the x dimension of a vertex selection. The ...
0
votes
1
answer
21
views
Getting the Property Subtype from an FCurve
Is there a way to get a property's subtype from an FCurve (e.g. DISTANCE, TEMPERATURE, ANGLE)? Thank you!
1
vote
1
answer
35
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 ...
2
votes
1
answer
19
views
running function when selecting shapekeys
I'm trying to run a function (setting the active shapekey value to 1, and all other shapekeys values to 0) when selecting a shapekey.
Not quite sure how to achieve that. I tried subscribing to msgbus ...
0
votes
0
answers
21
views
Properties don't show up on panel [duplicate]
I was following this tutorial to make a simple calculator in blender (v3.3.1), my code is almost if not completely identical to that of the recording but unlike the tutorial's mine does not seem to ...
2
votes
0
answers
29
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 ...
0
votes
0
answers
22
views
Is it possible for an operator to generate an indeterminate number of properties upon execution?
I want to make a function that will allow the user to select a value from an Enum for each material on the object. This value will then be used later. But I am unsure how (or if it is possible) to ...
1
vote
1
answer
25
views
The Properties-area text is smaller than the others
I have encountered a small problem. As you can see from the attached image, the Properties-area text (circled in red) is smaller than the others.
Can this be corrected?
Thank you for your attention
...
0
votes
0
answers
70
views
Add Custom Properties using Python
I am trying to create custom property for an object of type float array.
I tried simply adding a key value pair to object as:
...
0
votes
1
answer
54
views
How can I add and configure a Driver through a Script?
I'm trying to add and configure a driver through a script. so far I have the following script:
...
1
vote
0
answers
32
views
How can I edit the number on a property data block?
I have a property to hide a pair of glasses and hair on a character so it is easier to animate, but I want to change the number that turns the glasses off. When the property is 0 the hair disappears ...
0
votes
1
answer
38
views
How to change a 'keymaps_items' property using Python
I try to change the properties value, but it's not working in the console:
...
0
votes
1
answer
33
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
43
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 ...
1
vote
1
answer
49
views
How can I store a pointer to a custom data type?
I have a type of PropertyGroup that stores some settings. My goal is to have a master collection full of instances of this group stored with the scene, and a list of slots that can be filled with ...
0
votes
1
answer
44
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
1
answer
32
views
python undo without bpy.ops?
I'm making multiple changes to an object and rendering like this:
...
1
vote
0
answers
34
views
How to display an enum property with icon_only=True and use the full width of a row?
I wanted to ask how I can make an enum property use the full width of a row if I only want to display the icons.
Here my code:
...
0
votes
0
answers
8
views
Can I add/remove an enum property to a property group subclass during runtime?
I'm a beginner and I have no clue how I can achieve this or if it is even possible... I have a collection property that uses a property group subclass as type. Is it possible to add/remove new ...
0
votes
0
answers
9
views
UIList instances, generated, with individual index and content, how to?
i am trying to figure out how to use the same UiList, in the same area, with different user´s content (scene related). The uIlists are generated automatically when user is clicking on a button! but ...
0
votes
0
answers
28
views
My bones are missing, what happened?
I put the F.K. and I.K. arm bones in different relations to separate and make it easy for me to see but after clinking on them they just disappear. Only some of the green bones of my default arm are ...
0
votes
3
answers
49
views
Properties Transform Lock, not working
what is the purpose of these locks?
When I close them I can still change the values.
Is there another way to lock the values??
I'am using 3.3.1
Thanks
0
votes
0
answers
10
views
Why the transparent background settings is showing a black background after rendering in Eevee?
I have set the tranparent checkbox in "render panel
File format as FFmpeg video : Container as QT :Video Codec as QT rele/QT Animation
But the video is not tranparent when I play it on canva?
...
0
votes
0
answers
17
views
Get properies from operator in the same order as layout
I'm trying to replicate the Alembic exporters properties in my own exporter, but I haven't found a way to get them in the same order that they appear in the layout.
To get a list of properties I loop ...
0
votes
0
answers
21
views
I accidentally pressed "close area" on the right tool bar and its completely gone
I've tried pressing "shift space" and dragging the side out but nothing works
0
votes
0
answers
49
views
How do I keep my object from going through itself?
I am trying to create a mockup of a zine to place onto a website. It is made from a plane being folded to replicate a piece of paper. When I fold it the second time for some reason the backside keeps ...
0
votes
1
answer
21
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?
0
votes
0
answers
12
views
Extracting particle system(boid) information into an array
I'm currently using a boid particle system to simulate a fish tank and I need to be able to grab the location of every "fish particle" and possibly even the silhouette of each "fish ...
0
votes
0
answers
60
views
Missing Particle System Panel from Properties Menu
New to Blender. Using 3.2.1 and following a tutorial for particles. My properties menu does not have the particle system panel.
I have selected the model, and it still does not appear. I have switched ...
1
vote
0
answers
65
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
0
answers
18
views
Modes missing in properties tab
My tabs have lost some modes, ie material properties, the material selection have been missing etc
how do i get it back? i have tried reinstalling blender and also load factory setting but it doesnt ...
0
votes
0
answers
14
views
Create new property from existing property - problems?
I'm writing an addon that uses existing export operators (Alembic, FBX, USD etc) to export meshes.
In my addon I want to dynamically create duplicates of the properties from the built-in operators to ...
0
votes
0
answers
20
views
Missing the 'Assign Material'-menu aswell as some other options in the properties panel, every time i switch to cycles
I can't recall when the problem first come up, but since a few days i think, somehow I'm missing a few options in the properties panel, as soon as I switch to cycles.
Last week I did some texturing ...
0
votes
1
answer
101
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
95
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 ...
0
votes
1
answer
35
views
Basic Custom Property Cannot Be Animated
I must be doing something horribly wrong, and am hoping someone can help!
I am trying to write a basic panel that allows for some access to NLA Strip params (namely use strip time and strip time) as ...
0
votes
1
answer
19
views
Why I'm getting different light data properties?
Why I'm getting different light data properties and how can I switch between them? I'm using Blender 3.2.1. Thanks!
1
vote
2
answers
31
views
Do something when an enumerator is changed
When I choose an option for one of my enumators in my script, I can tell from the "info" space that there is a command:
bpy.context.scene.extra.[name of enumerator] = '[option]'
I want to ...
0
votes
0
answers
52
views
How can I keyframe a custom Property in python
I'm working on a simple UI for my rig. It is a face mocap rig and often the camera doesn't catch the entirety of a person's blinks. I basically want a quick button that you can use that will ...
0
votes
1
answer
24
views
Attribute Error bpy.props.FloatProperty and PointerProperty
I have a very small script that's killing me. I can't see what I'm doing wrong. Can someone help spot the error. I feel like I'm registering everything correctly yet, I keep getting Attribute error.
<...
0
votes
1
answer
18
views
Is there a pointer vector propertie?
First, I haven't been programming with the API for that long, and I don't have Python as much to work with either. I'm trying, from the interaction side, to implement something like the Modifier tab.
...
1
vote
0
answers
90
views
Override / Edit the get / set functions of a Property
How would I dynamically edit the get/set functions of a custom property?
...
0
votes
1
answer
52
views
How do I change the name of a custom property that already has been assigned to Armature object?
How do I change the name of a custom property that already has been assigned to Armature object?
As an example, I know that I can assign a new property in the selected armature in edit or pose mode by ...
0
votes
0
answers
17
views
Control how your properties behave when the data get duplicated?
Here's an illustration of the problem :
create a property my_name on bpy.types.Object
assign a name on a single object, let say ...
0
votes
1
answer
814
views
I can't find the Hair option in my 'Render Properties'
I'm trying to follow a tutorial and they enable the 'Hair Shape type Strip' in their 'Render Properties'. I can't find it in mine. I've tried looking around online too but I can't find an answer. Has ...
1
vote
1
answer
25
views
Blender crashes when using an EnumProperty to set Space
I have a property that I'm trying to use to set the current context.area.type
Using the property as it is now, the set_space ...
0
votes
0
answers
17
views
Strange black shapes appear when camera/user perspective is lowered?
thanks in advance for any help... am a bit stumped by this one. I have a theatre scene with some alpha PNG pictures of people in the audience (some of which are also alpha videos of moving people - ...
1
vote
1
answer
58
views
Set anything from a variable or custom property, addon?
I have a rig with Shrinkwrap Constraints on many bones, with nearly identical parameters. When I made the shrinkwrap bone constraints I had to specify a particular ...
0
votes
1
answer
33
views
Properties don't open up (Hotkey n)
When I press the hotkey N, on the right hand side open up some property registers. But if I click on one of them, there doesn't appear a panel where I can make some changes. How do I fix that?
This ...
0
votes
1
answer
41
views
Driver expression not reading bpy.props.FloatProperty correctly during render
Background & Overview
I've been working on an animation which involves a series of objects changing color via an object attribute material node controlled by a custom property controlled by a ...