Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
0 answers
28 views

How to Export JSON from Blender with Split Normals using Geometry Nodes

I am trying to export a JSON file from Blender and need split normals as data on vertices. I have exported a custom attribute named "norm" using geometry nodes. However, I am struggling to ...
Vishal Soni's user avatar
2 votes
2 answers
57 views

Why `foreach_set()` don't work?

How do I write an integer attribute for each vertex? For some reason this code doesn't work: ...
ugorek's user avatar
  • 869
0 votes
1 answer
69 views

Transfer (float) vertex-attribute to vertex-weight, to allow GeoNodes to control subsequent Armature binding

In Blender 4.1 or higher, I want to write a custom modifier, which transfers values from a vertex attribute (on geometry generated by geonodes) to a vertex group (usable with other modifiers). This is ...
Mark K Cowan's user avatar
0 votes
0 answers
71 views

How can I access and modify a boolean attribute in edit mode?

Re Manually setting custom attributes per edge / vertex / etc TLDR : In edit mode, the regular interface to access and edit attributes, ...
Gorgious's user avatar
  • 31.6k
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
1 vote
0 answers
19 views

How to color or overlay on vertices via the Python api? [duplicate]

For a plugin I am making, I need to highlight the vertices that the user hovers over. I could not work out this color assignment part yet. I have tried methods then found out they were obsolete. I ...
SKB_BGPL's user avatar
0 votes
2 answers
246 views

How to Set Selected Edge Bevel Weight in Blender 4.0

I have code that sets the bevel weight of selected edges in an object like this in Blender 3.3 LTS: ...
Christopher Gearhart's user avatar
0 votes
0 answers
47 views

Per Object Attribute not updating instantly

I am using this code, based on a previous question: https://blender.stackexchange.com/a/302335/171509 ...
YupDiDo's user avatar
  • 55
2 votes
1 answer
181 views

Link geometry node sockets in python

I'm trying to link the values of a Named Attribute node to the scale vector of the Instance on Points node in Python but I couldnt find a way to do this anywhere... I want to do something like this: ...
Abner Augusto Souza's user avatar
2 votes
1 answer
452 views

How to delete all attributes for multiple selected objects in Blender 3.6 using Python?

I'm trying to write a script that would delete all custom attributes for multiple selected objects except the 'backed' ones such as position. With some Chat-GPT help I ended up with this code But the ...
Fedya's user avatar
  • 21
1 vote
1 answer
1k views

How can I assign material colors to a color attribute?

For the record I'm asking this question because it was brought up by a member recently and deleted under my eyes while I was clicking on the submit answer button, but I think it was a worthy question ...
Gorgious's user avatar
  • 31.6k
3 votes
1 answer
66 views

Material not updating when param in Attribute node is changed via Python

I have a Material node, it contains the default BSDF Shader whose color is fed via an Attribute Node. The Type is Object, and Attribute Node's Name is custom_color. ...
YupDiDo's user avatar
  • 55
0 votes
0 answers
704 views

How to get an object custom property within Geometry Nodes (without the creation of drivers)?

How to access custom object properties within Geometry Nodes without using drivers? In the Shader Editor this can be easily accomplished by adding an "Attribute" node e.g.: Note that the ...
user164973's user avatar
2 votes
1 answer
614 views

How can I access named custom instance attributes generated with Geometry Nodes in Python?

I have a question. How can I access named custom instance attributes generated with Geometry Nodes in Python? What I did: I set up named custom instance attribute with Geometry Nodes, named "...
Takahiro's user avatar
0 votes
1 answer
107 views

Blender addon operator not working

...
Satyam's user avatar
  • 3
7 votes
3 answers
3k views

Manually setting custom attributes per edge / vertex / etc

I'm trying to determine if it's possible to define custom attributes associated with vertices or edges of a mesh and then assign values to them manually as part of the mesh creation process, much like ...
Daniel S.'s user avatar
  • 257
0 votes
0 answers
61 views

Pack Addon or PointerProperty/PropertyGroup with Blend File For Cloud Rendering

I wrote an addon that takes a 3D-printing GCode file and turns it into a renderable object. I define a pointer property and then use members of that pointer property to drive the visibility of ...
Vipul Rajan's user avatar
2 votes
1 answer
779 views

Display object custom value in the object panel

I'm trying to create some tool for blender that requires to store and show some boolean value for each object. I have create simple Panel in Object context with one bool property sadly it's not ...
websterek's user avatar