Apply cull on specific branches of plane based on boolean list

Hi,

I start with a Plane object (RR_Targets) containing 132 branches containing coordinates list.

I also have a boolean list with the same size.

For each branch of RR_Targets, I want, if the corresponding index in the boolean list is True, to apply a Cull Index in order to suppress the last item of the branch.

I found how to apply the Cull index with -1 as indice suppress the last item, but I didn’t find how to apply this feature only for specifics index…

Thank you,

something like this might work, but having not provided any data it’s not tested at all :upside_down_face:

1 Like

It works perfectly thank you :grinning:

1 Like