Hi guys, hi Andy
I’m despreately trying to make the List.ReplaceEmptyLists work (I have the latest Clockwork version installed + Dynamo 0.8.2) and it just won’t work!
As a matter of fact it’s replacing just the first empty item:
If I choose a list as input for “replacement”, then the node will replace as many empty lists as there are items in the list.
Obviously this could do the trick, but it’s not really an elegant solution and I guess it’s just a little tweak in the custom node, or?
Did you try changing Lacing to longest.
Lejla, If it doesn’t work for you try “ReplaceByCondition” node.
Kulkul, first of all thanks a lot and apologies for replying only now, unfortunately I got stuck in non-Dynamo related work
I did try different lacing, however it didn’t work either - ReplaceByCondition is a perfect workaround of course, thanks once again!
Unfortunately this does not work if the original list is composed of elements and lists… Below, the resulting list is identical to the source list:
If I flatten the list, then the Empty List disappears and I loose the total number of items in the list…