Hope I make myself clear. Help me out.
Try List.Clean with the boolean set to true:
I can’t find any illustration for List.Clean with boolean set to true. Please send a screenshot if you used it successfully so we can reuse it as a reference for similar issues.
I tried it before… And worked with the levels as well. Doesn’t seem to work
Try playing with the node levels to see if it helps:
Hi Yna, I do understand how levels work. And I have been playing with the levels and Preserving Hierarchy for a few hours already. The issue is with Empty Lists. When I ask any of these nodes to remove the empty lists… they just remove it through n through.
try it out. You will understand what I mean. Have been using Lists and Levels in Lists for quite sometime now.
Sorry I can’t right now. If no one else does, I’ll come back in a few hours on this topic…
Thanks for the support Yna
Just use “Flatten” node:
The issue is I won’t have a nurbscurve in every list of lists. Sometimes its all Empty list (when there is no Geometry Intersect in my case).So dynamo entirely remove the Entire Index without a nurbscurve. I want to maintain the index and list it as null or a single empty list when it doesnt find a nurbscurve. Hope that makes it clear. Check the image.
DanEdu.List.Replace should respond to what you describe:
@Amrit_Banerjee Note that Lacing is Longest in the examples below
Yes this was what I was doing yesterday as a workaround. But @Vikram_Subbaiah’s Method works like a charm
Great, you will fine in the Primer more information about lacing if needed:
If you need to preserve the complete structure of the list, you can do it like so: