algorithmic modeling for Rhino
Hello, I'm trying to retrieve a tree item from a list of generic data as follows:
{0;0;0} index 0,1,2
{0;0;1} index 0,1,2
{0;0;2} index 0,1,2
{0;1;0} index 0,1,2
{0;1;1} index 0,1,2
{0;1;2} index 0,1,2
{0;2;0} index 0,1,2
{0;2;1} index 0,1,2
{0;2;2} index 0,1,2
I'm tring to retrieve index number 1, from {0;0;1},{0;1;1},{0;2;1},
however the number of paths could change, (the number of indices with not). Is there a way to achieve this with the 'retrieve tree item' component, in particular by specifying this in a special way in the path input? for example setting the path to {0;*;1} which doesn't work by the way. If the 'retrieve tree item' component isn't the way to go, is there a better way?
thanks!
Tags:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by