algorithmic modeling for Rhino
Hi everyone,
I am trying to write a python code to cut the first two and the last two elements of a list, and give the output as True/False elements, so I can directly use them in "dispatch list".
I could write a code in a way that it puts all the boolean values in one list so far. However, if I want to feed it into the dispatch item, I need to separate the elements into multiple lists. When I do so, it turns all the values to "False". I deeply appreciate any help in this regard.
Thanks
Tags:
Thanks, Jeroen, that's great! I was so obsessed with making lists that didn't think of using the print statement directly. Nice way of doing it.
and the GH file
Hi Nilou
I hope this help you
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