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

Questions tagged [custom-attributes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
34 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
  • 961
0 votes
0 answers
25 views

Encoding List Values for Custom Geometry Node Attributes: Seeking Solutions and Insights

For a personal project, I'm seeking guidance on transferring values stored in a list to a custom attribute within geometry nodes. I've encountered a challenge due to the limitations of BMesh, which ...
Luca Saiani's user avatar
0 votes
1 answer
38 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
1 answer
67 views

Custom Attribute Transfer from Mesh (Edge domain) to Curve domain in Blender (4.1) Geo Nodes

I have a mesh object without faces, that is transformed into a curve in geo nodes. The edges of the mesh have custom attribute assigned (let's say integer value). After transforming to curve, the ...
Poncaada's user avatar
0 votes
1 answer
21 views

"Sound Info" geometry attribute to shader

I have a Sound Info geometry node and I want to take the (beat or loudness) value and plug into a Noise texture node (in the Shader tab). using the artribute shader node, how do I set this up?
CpToye_00's user avatar
0 votes
0 answers
36 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.2k
1 vote
1 answer
41 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
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
26 views

Is there a faster way to duplicate attributes than using Geometry Nodes?

In the Data tab of the Properties panel, you can go to the Color Attributes drop-down menu, click on the context menu and duplicate Color Attributes. Is there anything similar for other Attributes? I ...
artistictuxedo's user avatar
0 votes
0 answers
23 views

How can I convert a color attribute to a mask for sculpting?

Left: Generated Mask after Mask by Color Tool ; Right: Original Color Attribute Is there a way to convert a color attribute to a sculpting mask? I tried using the Mask by Color tool, but it loses ...
artistictuxedo'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
0 answers
42 views

What settings should I use to replicate this "lava" effect using flip fluids?

https://www.youtube.com/shorts/p3OhspLdgdU I want to replicate the emission strength fading according to speed like in the video. Additionally, I am trying to figure out how to go about having the ...
yanke555's user avatar
0 votes
1 answer
46 views

Capture Top and Side Boolean from former Extrusion to new Geometry (Geometry Nodes)

I am trying to create some lichen like, differential growth style animation, where the open edges of a mesh extrude outwards and "subdivide" (by extruding individually and scaling the ...
Todes Digga's user avatar
0 votes
1 answer
86 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
6 votes
2 answers
311 views

Is there a limit for how many Stored Named Attributes you can have in a geometry node or receive in a material?

I've been using Stored Named Attributes on this geo node to pass the values to the shader editor - and I've noticed some attributes on the shader have stopped receiving info -, and when I tried "...
Pedro Ribeiro's user avatar
0 votes
1 answer
38 views

How can I call the values from an group output attribute?

I am trying to call the values from an attribute defined in the Group Output for the use in a python script. To illustrate the problem I have made a simple GN-model (2 Mesh Lines with unique integer ...
Peter_Ko'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
0 answers
78 views

Store Named Attribute Value is turned to zero?

I´m trying to get to attributes from two different points to another mesh. If I´m doing this the attributes (which aren´t zero) are turned to zero. How can I use this value for another node tree?
schuaaro09's user avatar
0 votes
2 answers
209 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
1 vote
1 answer
65 views

Transform specific vertices of primitive mesh/extra object using geometry nodes?

I just started learning geometry nodes, and I have a question about manipulating specific vertices for meshes other than the original object that the geometry nodes modifier has been applied to. Here'...
Confused_User'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
159 views

Read atributes from an alembic?

I'm trying to export geometry from Houdini to Blender, as far as I know alembic is the way to go. But, even tho I have multiple attributes in Houdini, I only receive in Blender the color attribute (Cd)...
Artichoke's user avatar
  • 383
0 votes
0 answers
13 views

How to provide the instanced objects with a value field? [duplicate]

The specific problem I'm facing is that I have a node group (called petals array) that is instanced on a point cloud. Each point in the cloud has an anonymous attribute (say growth) which is captured ...
Suricate Guy's user avatar
0 votes
0 answers
42 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
149 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
0 votes
0 answers
85 views

I want to use the color of one volume to color a mesh

Is there a way to use the color of a volume object to shade it? I haven't found anything online or when checking shaders and geo-nodes. Does anyone have an idea to solve this? I didn't understand on ...
Hendrik's user avatar
  • 41
2 votes
1 answer
342 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
0 votes
1 answer
1k views

Geometry nodes how to capture the position of a point and use this position in a seperate node set up

This is a simplified version of what I'm after. I have two "distribute points on faces" nodes, one instances the Cones and the other instances the Torus. (There is a node group that limits ...
Luke Tudor's user avatar
1 vote
1 answer
911 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.2k
4 votes
2 answers
259 views

Copying position of points based on matching attributes

I have two sets of points. The first has defined positions, and an ID number attribute. The second set is a subset of the first's ID numbers, but doesn't have any position values. What I'm hoping for ...
Valbatross's user avatar
3 votes
1 answer
236 views

How can I replace circle objects with a sphere of same radius?

How to replace objects (circles) with a spheres, taking into account the radii of circles
1 so's user avatar
  • 167
0 votes
1 answer
75 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
756 views

How to convert UVMap attribute to UV map in blender 3.6

UV's generated using Geometry Nodes are stored as attributes, not as UV's, meaning they are not exported and cannot be edited in the UV editor. In Blender 3.1 there was an operator to convert ...
otto's user avatar
  • 57
3 votes
1 answer
58 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
2 votes
1 answer
28 views

Is there any decent way to bulk change a material Parameter?

I'm have imported a model of AnorLondo from Darksouls to Use as a lighting study. I have run into the problem of all the materials having a value of 1 for specularity. I have tried using the copy to ...
Caltec111's user avatar
2 votes
0 answers
39 views

Default alpha value from attribute node

I was trying to use the alpha channel as an "exist" factor for a color attribute inside the shader editor and I discovered that the default value for this channel (as default I mean the ...
Felipe Del Rio's user avatar
1 vote
1 answer
223 views

How can I give custom index to duplicates inside a simulation zone?

I'm trying to create a simulation for cell division. The idea is pretty simple. Get one point Duplicate the point inside a simulation using the duplicate node Instance a "cell" Move only ...
Jojostack's user avatar
  • 127
0 votes
0 answers
43 views

Geometry Nodes: Recreate objects from collection using attributes

A bunch of differently sized small cubes (referred below as objects 'A') need to be arranged in front of a much larger object (object 'B'). They never touch the object and do not need to line up with ...
Mmmmm's user avatar
  • 1
1 vote
0 answers
43 views

Get focus on Blender interface when working on a custom panel (pyside6 and Qt)

I created an Animation Picker panel using pyside6 and Qt, and so far, everything is going pretty well. However, the Picker has a feature which allows the user to click on a button and immediately ...
Fabrizio Espindola Vivas's user avatar
1 vote
2 answers
655 views

Access instances attributes from collection info node

I was trying to access attributes from objects outside of the node graph but I'm having some problems and I don't know if it's meant to work like that or not. I have two different node systems. The ...
Felipe Del Rio's user avatar
2 votes
1 answer
1k views

Cannot read value from named attribute geometry node

I've been working a product configurator based on a CSV file that assembles something like a rack-system with different sized compartments per rack. Somehow I figured out the complicated part for the ...
billyhoiler's user avatar
0 votes
0 answers
606 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
3 votes
1 answer
310 views

Geometry Node Attribute Unusable on Density (Shader Nodes)

I've found something weird. I have an Fac Attribute in my geometry nodes (it's a simple gradient). When I use it in Shader Nodes, it works, but not for the density value on volume absorbtion or volume ...
leevmealone's user avatar
0 votes
1 answer
72 views

distance to object as single value per instance

I have an array of lights and want a wave to run across it. Each light should only show one value. Using the distance method below, I end up with a smooth gradient. Is there any smart way of achieving ...
Gandarufu's user avatar
0 votes
1 answer
74 views

How do you drive a light colour based on a colorRamp inside Geometry Nodes?

Im Trying to automate the process of retroilluminating the face of a robot by copying the color of the emotion displayed(blueish for neutral red for anger atm) on a light thats pointing the face of ...
Juan Tadeo Mangione's user avatar
3 votes
1 answer
541 views

How to create a checkbox in Geometry nodes modifier stack

In the image below, I have two switch nodes. The default appearance for the boolean input of the switch node is a checkbox. But if I pull in an input to control the switch node from the modifier stack,...
Dalibor-P's user avatar
  • 1,054
2 votes
0 answers
103 views

How to preserve nested collection colors on instances using geometry nodes?

A simple case. 2 cubes in a collection using same material. This material color is driven by an ObjectInfo node connected to and both cubes have actually different colors set in Object tab>...
Anderson Sudario's user avatar
2 votes
1 answer
554 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
6 votes
2 answers
3k views

Transferring data between different objects in / using Geometry nodes

Transferring data between different objects in Geometry nodes I know we can use the Object info node to get the geometry data from another object and use the geometry data but what about a specific ...
Rick T's user avatar
  • 4,521
4 votes
3 answers
2k views

How to edit Mesh Attributes?

How do I use the "Attributes" that I can create in a mesh object? I'm able to create an attribute that is associated with a mesh, and I can assign it to a domain (i.e. vertex, Face, etc). ...
rothloup's user avatar
  • 413