I'm having a problem where I try to run this script but for some odd reason, absolutely nothing happens with Triangulation or Tree. I've got probably 150 layers including nulls, shape layers, images, and solids (AE CC Windows 7, same problem in AE CS6). I'm not trying to connect every layer, but it seems that one or more of the layers affects the ability of this script's function because if I precomp just the objects I'm connecting (bunch of nulls) then it works fine. But here's the weird thing. I'm working in this precomp with all my lines generated from ConnectLayers and later down the road I want to add some more lines using Tree or Triangulation. Nothing. I love this script, but at the same time, it's seriously confusing me why it won't work at times.