algorithmic modeling for Rhino
Hello!
I have a simple list question that hopefully someone w/ more experience can easily solve.
Say I have a list of 4 lines in a single grasshopper component. How can I access each line without having to tediously use the "List Item" component for each index? As shown in image1
I will have to do this for several similar 4 line components and there has to be a more efficient way to do this as opposed to doing somthing like this (image2):
Is there a way I can access each item from a single component that decomposes the list? perhaps a simple vb.net component? Thanks for the help!
image1
image2
Tags:
You don't need to repeat components over and over provided you have the correct data structure. You can repeat the same tasks for multiple objects. Without looking at you definition as a whole I cannot be more specific at the moment maybe someone else will chime in here, otherwise I can look at it in the morning at work.
Hi Danny,
Thanks for your reply. Basically without getting too much into distracting project details, I will be using be executing different functions to each line.
for example:
i was suggesting a simple vb.net component bc perhaps I can take the list as an array and access and output each index separately. (I am not too good with vb.net syntax)
Does anyone know how to do this?
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
© 2024 Created by Scott Davidson. Powered by