algorithmic modeling for Rhino
I am trying to use Split List to split a list into the last item and the remaining list, which can vary in length. Splitting into the first item and remainder is easy using for example index=1. But you cant seem to do it with negative numbers as you can do with any other of the list components.
Shouldn't index=-1 do exactly what I want. How come it doesn't work in this instance?
Is there another single component way of splitting a list into last item and remainder?
Tags:
Shouldn't index=-1 do exactly what I want.
Yep.
How come it doesn't work in this instance?
I was lazy. Or maybe forgetful. Probably both. When I added negative index support to various components I did not do it for Split List.
Hihi, okay, so you are human after all! ;)
Nice one, thanks!
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