UPDATE: So I have tried to follow the insctructions posted in the comments but ran into the problem that Blender 3.1 doesn't seem to have "Duplicate Elements"-node. I am still running into the problem that I can't randomize the socket for "count" in the "Mesh Line"-node.
Any ideas would be greatly appreciated!
OLD POST:
I have been stuck for the whole afternoon now and I hope that someone has a clue how to solve my problem.
I want the number of vertices to go up with the scale of a mesh object generated in geometry nodes. Application: the cube scales on the z axis, is suppsed to be a building and with each step of scaling, one addition vertex on the Z-axis should be added.
When setting the vertices count as fixed, the result is fine.
But once I take a random integer value between 1 and 5 and add another integer value and connect this into the vertices count of the mesh, Blender states that the value is supposed to be at least 1.
As you can see, the result of the math operation "add" should always return an integer greater than 12 in this case.
But I keep getting this error. I habe already tried to add a "Float to Integer" after the math node. Doesn't help either.
Any suggestions? Your help is very much appreciated!