I try achieve creating multiple geometries from single input fields. Let say I want to create simple boxes with different dimensions in different positions. Currently I could achieve this by multiplying the number of sliders for the position (in this case “move”) so to create a list and feed it into the box component. However, I would like to create those boxes from only two sliders, one for the dimension and one for the position, and another additional like the ID of the object to choose which one I am modifying. If I want to create 10, then I could choose an index from a list and use the two sliders, but not 2x10.
To further sophisticate my goal, sometimes I want to create spheres instead of boxes. So let say I have 10 objects, but 3 of them are spaheres, and 7 are boxes. Then preferably I would have only 2x2 sliders. So 2 for spheres (1 radius, 1 for position) and another 2 for boxes (1 dimension, 1 position).
My use case will be more complex but this is my minimal working example for my problem. My question is how to achieve this with (preferably) native GH components? Please see my GH file attached and a screenshot for the problem.
repeating-objects.gh (9.5 KB)