Lists within value list

I’m attempting to use a value list to populate a panel with different sizes of material, but I have been unable to populate the panel as a list.

My Goal is to have the top panel populate like the bottom one.

It works for all of the items with one value assigned to them and I’m wondering if I’m using improper syntax or if this is just a limitation of the value list itself. So far I have tried:

{},{},{}
{};{};{}
{}:{}:{}
{{},{},{}} This created a plane and returned a point and a vector to the panel
({},{},{})
<{},{},{}>

Any help would be appreciated!

Welcome to the forums!

I (potentially) love the idea of being able to have multiple values nested in the value list component as in some cases like this, it could save on graph space, however I don’t know if this is possible.

Perhaps someone will gladly correct me but I think your limited to one value per line in the value list.

Alternate options are that you use the value list to assign indices and then filter or select a branch or index based on that value list selection.

Method A (Stream Filter), Method B (Data Tree Branch Selection):

I realize this isn’t exactly what you are looking for but if your values are fixed you may as well wrap it inside a cluster and that will give you a condensed component.

Cluster Internal Logic:

Hope this helps,

Cheers!

20230623_Value_List_Multiple_Nested_Values_Response_01a.gh (17.3 KB)

1 Like

Anders Deleuran ( @AndersDeleuran ) posted a ‘Populate Value List’ thing in Python here:

Very handy! Scroll down to see a small enhancement/bug fix here:

1 Like

The text split component did the trick, thanks!