List.Chop problem


#1

Hello.
I’m trying to cut a list with a list of lengths. But there is a “0” in this list of lengths that is causing problems, as can be seen in the image below. Does anyone know a way to get the expected result? (Desired List)?


#2

I assume this is an example scenario. Can you show and explain what you’re actually trying to do in your graph? There might be a better solution.


#3

Hi @tiagocorradi

Is this what you need?


#4

You forgot the script. :stuck_out_tongue:


#5

List.Chop+ in Clockwork can produce empty sublists


#6

@PauLtus Usually i don’t forget anything :wink: i was just making sure if OP is looking the same. As soon as OP replies i will share the python. @Andreas_Dieckmann node is also another possible solution here.


#7

Thank you all for the replies. List.Chop+ worked perfectly


Rename System Families and Types
#8

Thank you. Even Though @Andreas_Dieckmann node works, could you share your python script? I would like to see how you did it.


#9