Questions tagged [properties]
Questions about accessing object properties or attributes while scripting
739 questions
0 votes
1 answer
15 views
Best way to allow user to edit property that is average of value (like Transform panel)?
I'm running Blender 5.0.0. I want to implement a function similar to the Transform panel in the Items tab of the sidebar during Edit mode. I want to: Display an average of a custom attribute over the ...
3 votes
1 answer
42 views
Stopping a property Panel from appearing on objects of other data types
I'm making an addon for Blender and I want to create a new Panel in the mesh properties. I managed to do it, but it appears on every object type: Cameras, lights, empties, etc. This is because the <...
3 votes
1 answer
84 views
Determine the name of the shader property under the mouse pointer
In Blender, in the Material tab, there are different properties such as Base Color (1), Metallic (2), etc. I need to find a way to determine which property the mouse pointer is currently hovering over....
-1 votes
1 answer
92 views
Texture Properties tab missing when trying to add displacement texture [duplicate]
I'm following a tutorial where they're adding a displacement texture, but the Texture Properties tab (the one with the red checkered icon) doesn't appear in my Blender interface (left image). In the ...
0 votes
0 answers
12 views
Editing panel blocked [duplicate]
New object editing panel just blocked, I can't changed properties for this object. In edit mode, the menu works fine. How can I fix this without resorting to a factory reset?
0 votes
2 answers
168 views
Can I define global variables to drive object properties?
I'm doing very simple static modeling in Blender for objects I plan to export as STL files for 3D printing. I've searched for “parametric modeling in Blender” several times, but everything I find is ...
0 votes
1 answer
55 views
Reference to specific object
How can I reference a specific object in Blender without using its name (which can change) or ID/pointer (which changes after restarting Blender) in Python? How can I ensure that the reference remains ...
0 votes
0 answers
19 views
How do I pull up the torus properties panel [duplicate]
I'm not sure how to pull this up on my screen in blender. What are the shortcuts? Thanks
0 votes
0 answers
31 views
How to make GP thickness independant to screen size, camera zoom, etc (like Annotations)?
Annotation thickness does not depend to stuff like camera distance to annotation, zoom, etc(they are always same thickness, but GP(GreasePencil) does. I want to make GreasePencil to behave like ...
1 vote
1 answer
100 views
How do you customize UI custom properties with API?
In the "Custom Properties" panel I need to add a сustom property to the active object and set values like Soft Min and Step. All done with API. I can add a new property with ...
0 votes
0 answers
49 views
Second driven values don't get updated, in my script [closed]
Long story short, I'm encountering this issue where a driven property that depends on an output value from my script doesn't update. But this just happen when the input value is driven by another ...
1 vote
1 answer
34 views
How to display Size property in form of "number+units" in the custom operator's REDO panel?
If we add some standard mesh (e.g, cube) - the Size property will be displayed as number + units : API documentation says that in case of primitive_cube_add the ...
1 vote
0 answers
28 views
Custom properties possible for individual path points?
I am working on a small script that turns Blender into a kind of level editor and can import and export Bezier paths from CSV information into Blender. However, these CSVs contain custom properties ...
3 votes
2 answers
226 views
How to toggle the camera ray visibility property with Python for objects that are assigned to a Collection Info node + Replace Material node
I would like to ask for help with an issue I'm having regarding a Python script to enable or disable the camera property (visible_camera) in the ...
1 vote
1 answer
51 views
Using 2 enumproperties , at init selecting one item at index 4 select in the other list one item as same index, is it possible to have it at index 0?
I'm using the Gorgeous example as it is what I want to use and it's a great example ;) see How to show limited enum items? The problem when I run the script, is if I select in first list the item at ...