1

I am trying to set the vertex IDs of a specific vertex group.

First, to set the IDs of the vertex group, I separate the group and convert to a curve and back, in order to make sure the vertices are in order, then I give them IDs: enter image description here

However, when I try to transfer the vertex IDs over to the main mesh, the IDs don't carry over and the Capture Attribute mesh doesn't seem to work: enter image description here

What am I missing here?

quellenform
  • 35,177
  • 10
  • 50
  • 133
user46965
  • 127
  • 5
  • There are two 'curve to mesh' nodes connected serially. In the first image, it even shows the error. Idk why it didn't show up in the second one. But that can be the issue. – The Kalaakaar Jul 19 '23 at 21:44

1 Answers1

2

You're trying to access an anonymous attribute on the geometry that doesn't have this attribute.

You can read more here: What Does Capture Attribute Add to Geometry

In order to access the right geometry, you could sample the nearest vertex of that geometry:

Keep in mind the ID is the Index by default, so you can simplify this setup:

Markus von Broady
  • 36,563
  • 3
  • 30
  • 99